Please read the new rule regarding the restriction on the use of AI tools. ×

Abdul_Munaim's blog

By Abdul_Munaim, history, 21 month(s) 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

»
21 month(s) ago, # |
  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

»
21 month(s) ago, # |
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