Anybody care to explain why this submission is getting TLE? I tried but I'm not understanding why.
Submission : 136141445
Problem : 1598C - Delete Two Elements
Round 946 Div 3 Solution Discussion (with myself)
Codeforces Round 946 Solution Discussion