Description: As in chess on the board is always moving along the diagonal direction. If two like each other in the position of the other party can reach, you can attack each other. As shown below, the black grid like B1 can be reached. Like B1 and B2 can attack each other, but between B1 and B3 can not. B2 and B3 between the same can not attack each other.
To Search:
File list (Check if you may need any files):
elephant.cpp