Why did I get runtime error for this code of mine in the competition?
link: https://codeforces.net/contest/1562/submission/127119400
While the same got accepted just after the competition
link: https://codeforces.net/contest/1562/submission/127129361
(exact same code)
PS- ;-; I am trying so hard to get better but these types of problem are so demotivating