cf/mirror

Largest Submatrix 3

CF
407D2700· international gm3s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3 3
1 3 1
4 5 6
2 6 1
Output
6
Sample 2of 3
Input
3 4
5 2 3 1
3 3 5 3
4 4 4 5
Output
4
Sample 3of 3
Input
2 6
1 2 3 4 5 6
8 6 7 8 9 1
Output
8
407D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)