| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 39189 | faustaadp | 미술 수업 (IOI13_artclass) | C++14 | 138 ms | 3580 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 "artclass.h"
#include<bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define fi first
#define se second
using namespace std;
ll re,ge,be,i,j;
int style(int H, int W, int R[500][500], int G[500][500], int B[500][500]) {
for(i=0;i<H;i++)
{
for(j=0;j<W;j++)
{
re+=R[i][j];
ge+=G[i][j];
be+=B[i][j];
}
}
if(ge>max(re,be))
return 2;
return 4;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
