Can anyone tell why I am having a run-error for testcase #1

When I am compiling it on other IDEs the code is working properly. I have attached the code in the comments.

The id is 84011. This is for the file saved on coding blocks IDE.

@Bumblebee hey himalaya run error is basically comes when there is problem with size allocation.so increase the size of the array.I think it will size of the arrays.

It’s still not working. I bumped up the size of the array from a[10][10] to a[100]a[100].