Why runtime error in codeforces not in VSCode IDE?

Правка en1, от ronak037, 2020-05-12 20:07:20

In today's contest during submission of my solution of B question then I got runtime error again and again and not able to understand the reason for it because I don't get any error in my VSCode IDE. I am putting a link of my solution and also commented that line which gives an error so, please tell me why it is giving runtime error? Thanks for your help.

Question link: https://codeforces.net/contest/1350/problem/B Solution link: https://codeforces.net/contest/1350/submission/79905645

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ronak037 2020-05-12 20:07:20 549 Initial revision (published)