Help needed to figure out TLE
154369620 I need help to figure out why this solution gave TLE. Thanks!
Codeforces Round 1137 Solution Discussion