UVA12366 King's Poker

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=278&page=show_problem&problem=3788 [PDF](https://uva.onlinejudge.org/external/123/p12366.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12366/5c27ce0b4971c54ec6e6964db057375be1c70f10.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12366/03d23b0ba65c9b71f8bbbc2cd6a08216c5e59c3d.png)