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

NobelPrizeIsMine's blog

By NobelPrizeIsMine, history, 21 month(s) ago, In English

i got the error for runtime at test case 2 for Verdict ok

Checker log ok 4 number(s): "2 4 5 7"

even the output and given output matches same with the correct format

Plz help if anyone know, it just spoils my whole program and decrease this rating

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

»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

Checker says ok for the first test case only. You can check that it shows 'runtime error' on pretest 2 which means your program produced the right output only for pretest 1 and not for pretest 2.

  • »
    »
    10 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Hello bud where can i find this pretest 2 error it just shows ok 3 lines in checker log and my code is not yet accepted im a beginner on codeforces and dont know how to handle this error please guide

    • »
      »
      »
      10 months ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      You can't, Not for Runtime error. If you're solution is getting 'Runtime Error', try checking for infinite loops or division by Zero.