# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
940468 | vjudge1 | Art Class (IOI13_artclass) | C++17 | 66 ms | 3420 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]){
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;
}
}
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... |