I made the code for 9X9 but it is not working

My code is - https://ide.codingblocks.com/s/390556

Hello @sukritbansal01 what is the error that you are facing?

It is not giving any output

Hello @sukritbansal01 i have corrected your code and it is passing every test case:


i have commented the error.
if you have any doubt you can ask here:
Happy Learning!!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.