https://ide.codingblocks.com/s/34622
board is printing large negative values
and on x y is printing 3 4 2 etc
where the code is going wrong
https://ide.codingblocks.com/s/34622
board is printing large negative values
and on x y is printing 3 4 2 etc
where the code is going wrong
https://ide.codingblocks.com/s/34721
I have made a small change. Please comment if you have any doubts.