# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
940554 | vjudge1 | 미술 수업 (IOI13_artclass) | C++17 | 67 ms | 3568 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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]){
int sum=0;
int n=H,m=W;
for(int i=0;i<H;i++){
for(int j=0;j<W;j++){
int u=R[i][j]+G[i][j]+B[i][j];
sum+=u;
}
}
if(sum>=1000*n*m){
return 3;
}
return (sum>=300*n*m and sum<=500*n*m?1:2);
}
/*
When the light is running low
And the shadows start to grow
And the places that you know
Seem like fantasy
There's a Light inside your soul
That still shining in the cold
With the truth
The promise in our hearts
Don't forget
I'm with you in the dark
*/
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |