Number of trips

Problem Name:
Number of trips
Site:HackerEarth
Links:
Tags: