Zhang Yide's submission of Subway Ride | CodeChef