Help needed in Recent Div 2 D. Nastya and Scoreboard (Getting TLE on tc 8)
Not sure why this code gives TLE.
Any help will be appreciated !
Link to Submission
Repovive Standard Round 3 Solution Discussion (with Anirudh)
Codeforces Edu Round 190 (Div 2) — Solution Discussion