UVA12843 Disputed Claims

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=861&page=show_problem&problem=4708 [PDF](https://uva.onlinejudge.org/external/128/p12843.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12843/3749ba213a3fad3544d57e00582a2b1cdb1ad139.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12843/53fe2d35e7836db27eae200b816b90bd73a662a1.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12843/6cf08aa53263c7abc77626107d98ac114ec2e697.png)