trivial_pasta's blog

By trivial_pasta, history, 4 years ago, In English

Im getting a runtime error on this code https://ideone.com/B5fTsx when I submit it the problem. But there are no such errors on ideone and atom. Here's the submission link : https://codeforces.com/contest/1271/submission/68835183 Can someone tell me why?

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By trivial_pasta, history, 5 years ago, In English

I am new to competitive programming, hence a complete noobie!. I was trying out problem no. 1154A (https://codeforces.com/problemset/problem/1154/A). I wrote the code that works just fine on CodeBlocks and gives me no errors or warnings and the outputs are correct. But when I uploaded the code for submission, I get a runtime error with Error code 4. Can somebody please explain error code 4, and also tell me how I can understand the meaning of each error code. My code goes here. http://notes.io/5TZL Thankyou.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it