UVA11755 Table Tennis

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=117&page=show_problem&problem=2855 [PDF](https://uva.onlinejudge.org/external/117/p11755.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11755/e23a5f37bc084ad3d6100698bf7ac02274dba15a.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11755/9eea930b95a1df63a3518d5b17761b37c68e7f22.png)