2 人解决,2 人已尝试。
3 份提交通过,共有 98 份提交。
8.6 EMB 奖励。
单点时限: 1.5 sec
内存限制: 512 MB
Once upon a time, there was a little dog YK. One day, he went to an antique shop and was impressed by a beautiful picture. YK loved it very much. However, YK did not have money to buy it. He begged the shopkeeper Bob whether he could have it without spending money.
Fortunately, Bob enjoyed puzzle game. He promised to give YK a picture for free if YK can solve a puzzle game for him.
Bob drew a puzzle board, which was a
In such a situation, YK needed to calculate the minimum value of the largest sub-matrix Bob could get.
The first line contains three integers, above mentioned
Then
These
Output the minimum value of the largest sub-matrix Bob could get.
3 3 -10 -100 4 4 4 -10 4 4 4 1
8
3 3 -1 -2 -2 -2 -2 -2 -2 -2 -2 -2
-2
2 人解决,2 人已尝试。
3 份提交通过,共有 98 份提交。
8.6 EMB 奖励。