UVA11643 Knight Tour

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2690 [PDF](https://uva.onlinejudge.org/external/116/p11643.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11643/36ba4726805a3cf40e80e9899414c64694f1625e.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11643/c884f9025a9bd5f13e9ff2e1a9046b9ad6ff5b2e.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11643/99fab4a69a278cea140aded7b18b361b6588e350.png)