UVA923 One Against Many

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=11&page=show_problem&problem=864 [PDF](https://uva.onlinejudge.org/external/9/p923.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA923/eb7524278b5a836dba68d6dc1563d779673d0f53.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA923/8f54ef568ddd25b4c6a62909c855ffa743b2665e.png)

Output Format

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