Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

padfoot1717's blog

By padfoot1717, history, 6 years ago, In English

Can someone kindly take the pain of checking my submission on which i am getting RE verdict and help me to sort the error?

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

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

Use a debugger maybe?

  • »
    »
    6 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    I did, infact the code is giving correct output when i am running it on my device on the sample tests, but the online judge is giving RA verdict.

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

Why if(i>1){ and if(j>1){ ?

I think that ifs have to be remove, then it should work.