Knight Tour

<<TableOfContents: execution failed [list index out of range] (see also the log)>>

Problem Description

Find a tour for the knight piece that starts at any square, travels all squares, and comes back to the origin, following the rules of chess.

Input format

Output format

Example

Author(s)

Author: Neng-Fa Zhou
Affiliation: CUNY Brooklyn College and Graduate Center, USA