Submission #9211

#TimeUTC-0UsernameProblemLanguageResultExecution timeMemory
92112014-09-28 04:44:33kcm1700On grid (kriii2_O)C++14
4 / 4
48 ms1804 KiB
#include <algorithm>
#include <climits>
#include <cstdio>
using namespace std;
int n,m;
int dat[303][303];
int dt[303][303];
int cursum[303];
int main(){
scanf("%d%d",&n,&m);
for(int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
scanf("%d",&dat[i][j]);
}
}
for(int i = 1; i <= n; i++) {
for(int j = 0; j < m; j++) {
dt[i][j] = INT_MIN/2;
}
}
for(int i = 0; i < n; i++) {
for(int k = 0; k < m; k++) cursum[k] = 0;
for(int j = i; j < n; j++) {
for(int k = 0; k < m; k++) {
cursum[k] += dat[j][k];
}
int best = INT_MIN/2-10002;
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...