Abdul_Munaim's blog

By Abdul_Munaim, history, 3 years ago, In English

I had submitted question C which passed all pretest but the code showed runtime error in test case 18 , which is not a big deal but i submitted the exact same code in practise and it got accepted and i am not able to understand why there was runtime error on the exact same code.

  • Vote: I like it
  • +4
  • Vote: I do not like it

»
3 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

If you definitely didn't change anything in the code, I think it's some undefined behaviour that sometimes gives runtime error and sometimes not

»
3 years ago, hide # |
Rev. 2  
Vote: I like it -7 Vote: I do not like it

Ping Mike. I think you deserve getting C's points. Also, put your 2 submissions in the blog's body