UVA12564 King of Fighters explained

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=441&page=show_problem&problem=4009 [PDF](https://uva.onlinejudge.org/external/125/p12564.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12564/3cd622428f2ac1898c377fdd51a3278e989c6c4a.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12564/07598e364f614643c01ac08c0198455c1489029f.png)