Anti clockwise spiral problem

i manually check the First test case, still its showing errors.
the program running fine in other IDE.

@souravrao3110 send me your code by saving it in (https://ide.codingblocks.com/).