Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Why RUNTIME ERROR in local compiler but Accepted in codeforces ???

Revision en1, by mcGyver, 2021-05-13 10:26:04

I was solving this 520B - Two Buttons problem. Here maximum input and output size is 10^4. In my code I took N = 10^6 and it was giving Runtime Errorin my local IDE but when I submitted the same code, it got accepted. My submission 116080580. I dont know whether it's a fault of my device or the compliler I am using. Can anyone help??

Tags runtime error, local compiler

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mcGyver 2021-05-13 10:26:04 503 Initial revision (published)