|
|
back to board5 0 1 0 1 0 1 0 1 0 1 0 1 -9999 -9999 9999 -9999 -9999 9999 9999 9999 0 0 answer is 4 5 1 2 3 5 0 1 0 1 0 1 0 1 0 1 0 1 -9999 9999 9999 9999 -9999 -9999 9999 -9999 0 0 answer is 4 5 1 2 3 Good luck! Write a program that will sort the squares in ascending order according the distance from P. |
|
|