UVA10908 Largest Square

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=21&page=show_problem&problem=1849 [PDF](https://uva.onlinejudge.org/external/109/p10908.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10908/8eeb0cac9db8a3fa15787bd2f39fcef038b87ba3.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10908/37827065df272052c9d9c644f53c79237fd52722.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10908/9e11555f0a7f0fd6da9755161913d8445cdcf17c.png)