Codeforces 489E: Hiking
CF 489E - Hiking
Rating: 2300 Tags: binary search, dp Solve time: 5m 18s Verified: no