Submission #756934

#TimeUsernameProblemLanguageResultExecution timeMemory
756934DJeniUpArt Class (IOI13_artclass)C++17
2 / 100
62 ms6060 KiB
#include "artclass.h" #include "bits/stdc++.h" using namespace std; typedef int ll; ll a,b,c; int style(int N, int M, int R[500][500], int G[500][500], int B[500][500]) { for(int i=0;i<N;i++){ for(int j=0;j<M;j++){ a+=R[i][j]; b+=G[i][j]; c+=B[i][j]; } } if(b>a)return 2; return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...