The Struggling Contestant

Problem Name:
The Struggling Contestant
Site:CodeForces
Links:
Tags:
Problem setters: