• + 16 comments

    I think where most people are having problems (and where I was having problems) is that the array is being read in and then processed on opposite coordinates ( e.g. read in as (x, y) but then process as (y, x) ).

    I decided this was the problem for me after I read in the array as a 1D array and then was able to solve no problem.