its showing wrong answer…what’s wrong in my code
@Narasimha,
https://ide.codingblocks.com/s/229055 corrected code.
Error:add a[i+1][j+1] instead of 1