How to solve pedal power from kattis
Can someone help me with this problem
Codeforces Round 1096 Solution Discussion