UVA260 Il Gioco dell'X

Description

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

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA260/91fd443354342efab83918c5163ad710d4ce4ddb.png)