983B XOR Pyramid — Runtime Error on Codeforces but not on Ideone!!!

Revision en1, by Thishandleiscurrent, 2018-06-01 15:28:18

On Ideone my code ran correctly for the first two Test Cases(Couldn't check for more):

https://ideone.com/mpY9eM

But on Codeforces it's showing Runtime Error for the first Test Case.

Can anyone help?

Tags runtime error, #dp, 983b

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Thishandleiscurrent 2018-06-01 15:28:18 275 Initial revision (published)