UVA10667 Largest Block

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1608 [PDF](https://uva.onlinejudge.org/external/106/p10667.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10667/648fcbbbd62f6311b42c5ea42d74aa7b98fabc63.png)

Input Format

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

Output Format

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