제출 #897408

#제출 시각아이디문제언어결과실행 시간메모리
897408Faisal_SaqibArt Class (IOI13_artclass)C++17
0 / 100
49 ms6092 KiB
#include "artclass.h"
#include <iostream>
using namespace std;
int style(int h, int w, int R[500][500], int G[500][500], int B[500][500])
{
	int mi=265;
	for(int i=0;i<h;i++)
	{
		for(int j=0;j<w;j++)
		{
			mi=min(mi,max(R[i][j],max(B[i][j],(G[i][j]))));
		}
	}
	return ((mi>=100)?2:1);
}
#Verdict Execution timeMemoryGrader output
Fetching results...