NobelPrizeIsMine's blog

By NobelPrizeIsMine, history, 4 years 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

»
4 years ago, hide # |
 
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.

  • »
    »
    3 years ago, hide # ^ |
     
    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

    • »
      »
      »
      3 years ago, hide # ^ |
      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.