Printing the exact o/p still showing wrong answer

My o/p is the same as they showed in sample input still some error is there, please check my code.

Hey @aatmictiwari19
Line 26 should be

for(int col=0; col<n ;col++){

If this resolves your query then please mark it as resolved :slight_smile: