Maximum Subrectangle
1060C1600· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 31 2 31 2 39
Output
4
Sample 2of 2
Input
5 15 4 2 4 525
Output
1
58%
1060C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 31 2 31 2 39
4
5 15 4 2 4 525
1