# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
9211 | kcm1700 | On grid (kriii2_O) | C++14 | 48 ms | 1804 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |