13
Last seen 6 years ago
Member for 11 years, 3 months, 1 day
Difficulty Normal
This implementation has lots of repetition of the same code. Perhaps refactor to run the for-loop only once.
More
I don't see the initial idea behind this. Why using so many variables? Maybe you should try to create the the area around the coordinate first and calculate the value of the 1s in that area.
More