Runtime error in competition but same code got accepted just after competition

Revision en1, by banjobyster, 2021-08-26 20:58:08

Why did I get runtime error for this code of mine in the competition?

link: https://codeforces.me/contest/1562/submission/127119400

While the same got accepted just after the competition

link: https://codeforces.me/contest/1562/submission/127129361

(exact same code)

PS- ;-; I am trying so hard to get better but these types of problem are so demotivating

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English banjobyster 2021-08-26 21:58:53 361
en2 English banjobyster 2021-08-26 21:31:19 362
en1 English banjobyster 2021-08-26 20:58:08 454 Initial revision (published)