Jumping frog

Problem Name:
Jumping frog
Site:CodeForces
Links:
Tags:
Problem setters: