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
2023 ICPC Asia West Continent Final Contest (live commentary)