Please check my code is not running
this code doesn’t run for uneven number of rows and columns
I tried to change the no of element in some rows and it gives error
Problem is with your count .You are not properly decrementing it .You can look at the corrected code https://ide.codingblocks.com/s/102089.
I have removed some unnecessary conditions.
1 Like
thanks your code is very optimized