[UVA] 11494 - Queen
Queen
The Problem
The game of Chess has several pieces with curious movements. One of
them is the Queen, which can move any number of squares in
any direction: in the same line, in the same column or in any of the
diagonals, as illustrated by the figure b...