UVA12011 Risk游戏 Complete the Set

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=242&page=show_problem&problem=3162 [PDF](https://uva.onlinejudge.org/external/120/p12011.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12011/5bf47b80c1023caf15bdba44d3dfb0c5d1bbfaa5.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12011/96f8fb10fd6b351d8cfa28d61ac92d183dbd4da8.png)

Output Format

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