Rosetta Problems

Largest Rectangle

https://onlinejudge.u-aizu.ac.jp/problems/DPL_3_B