Jumping on Tiles

Problem Name:
Jumping on Tiles
Site:CodeForces
Links:
Tags:
Problem setters: