제출 #39189

#제출 시각아이디문제언어결과실행 시간메모리
39189faustaadp미술 수업 (IOI13_artclass)C++14
3 / 100
138 ms3580 KiB
#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 timeMemoryGrader output
Fetching results...