Tableau 实习店面

Given an NxN chessboard with N queens (and no other chess pieces) on it, determine if any queens can attack each other.