RUN ERROR in a test case


I am unable to find the error in this code
Please help me with this error

Hi pratyush , your code is perfectly fine you just missed the constraints you have declared your matrix with size 10x10 but when n is 11 then it results in runtime error
refer this : https://ide.codingblocks.com/s/180378