UVA220 黑白棋 Othello

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=156 [PDF](https://uva.onlinejudge.org/external/2/p220.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA220/b5889bd30005c81049d37026006a6185dc84752c.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA220/431f7b6cf63c09fd2ce5d3d30c367ddda8b525f6.png)