UVA836 Largest Submatrix

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=10&page=show_problem&problem=777 [PDF](https://uva.onlinejudge.org/external/8/p836.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA836/5dd8d07437a57beb9ba222dcc24313eb6484597f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA836/720c5c4ac30ae35d740ec1466667fc1303cf0a4d.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA836/4a03fafb8d66c5783f967c18d93fc99b19b764b1.png)