UVA10595 Knight on the Bee Board

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1536 [PDF](https://uva.onlinejudge.org/external/105/p10595.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10595/f9d98aebaf23a93883fc5154bd6c5914fc92e50d.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10595/32df8cd37308d443f7595f0233b80ba0100dc0f7.png)

Output Format

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