What is the maximum distance that you can cover?

Problem Name:
What is the maximum distance that you can cover?
Site:HackerEarth
Links:
Tags:
Problem setters: