UVA10189 Minesweeper

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1130 [PDF](https://uva.onlinejudge.org/external/101/p10189.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10189/85d14d22e1e138600b1897d2bb332f2ea955cdad.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10189/93ed78cd6aa35199b71146169db8d5cb5d14ebe8.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10189/14937d8863a18ccdde4ccab0bd43062ddf51f764.png)