# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
411207 | faresbasbs | Art Class (IOI13_artclass) | C++14 | 69 ms | 3292 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 <bits/stdc++.h>
#include "artclass.h"
using namespace std;
int style(int H, int W, int R[500][500], int G[500][500], int B[500][500]) {
long long sum = 0;
for(int i = 0 ; i < H ; i += 1){
for(int j = 0 ; j < W ; j += 1){
sum += G[i][j];
}
}
// cout << sum << endl;
if(sum <= 25000000){
return 2;
}
return 1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |