UVA10903 Rock-Paper-Scissors Tournament

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=21&page=show_problem&problem=1844 [PDF](https://uva.onlinejudge.org/external/109/p10903.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10903/9fc3c69ae71222a4232f410bdac32fec6283cb5f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10903/2234556f028d3baf8200fd3bb500a9a3449c9344.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10903/57bdb048d236fd7ae67626a95dd5a3f5b9d097dd.png)