Problem3191--【Div4】思维训练 - 猜测子矩阵(单样例)

3191: 【Div4】思维训练 - 猜测子矩阵(单样例)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description





Input

输入数据约定:
1<=n,m<=40
-1000000<= aij <= 1000000

Output

一个整数,表示确保Michael能赢的最小矩形面积

Sample Input Copy

4 4
2 12 6 10
3 15 16 4
1 13 8 11
14 7 9 5

Sample Output Copy

9

Source/Category