Trip to the Olympiad

Problem Name:
Trip to the Olympiad
Site:CodeForces
Links:
Tags: