When i submit it is showing 'out of bounds' error but the other solution is getting accepted the only difference is that i have used two one dimensional array and he have used one two dimensional array.
Error submission: 242771431 Accepted submission: 242771679
Please help, why am i getting the error?



