UVA10195 The Knights Of The Round Table

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1136 [PDF](https://uva.onlinejudge.org/external/101/p10195.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10195/26b3d6e23f6440f956036568e04b8a0d08dd24e7.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10195/50b136740a17f9699af6a14c197b0bfce911ceb8.png)