Why this code is not getting compile?

code is complied and give correct output

plz check again

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.

https://ide.codingblocks.com/s/653311 According to me, this code is fulfilling all the constraints but though this is not passing the test cases. Kindly check and add a comment also what I have done wrong in this.

you have done small mistake while transposing the matrix

MODIFIED CODE

i hope now your doubt resolved so give your feedback from above link

@sb1251224_6919c19fccd96630 kindly give your feedback

https://online.codingblocks.com/feedback/d/75345