제출 #897414

#제출 시각아이디문제언어결과실행 시간메모리
897414Sir_Ahmed_Imran미술 수업 (IOI13_artclass)C++17
0 / 100
52 ms5072 KiB
///~~~LOTA~~~/// #include "artclass.h" #include <bits/stdc++.h> using namespace std; #define nl '\n' #define ff first #define ss second #define ll long long #define append push_back #define pii pair<int,int> #define all(x) (x).begin(),(x).end() #define N 10000000 mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); int style(int n, int m, int R[500][500], int G[500][500], int B[500][500]){ ll r,g,b; for(int i=r=g=b=0;i<n;i++){ for(int j=0;j<m;j++){ r+=R[i][j]; g+=G[i][j]; b+=B[i][j]; } } if(g>r+b) return 2; return 3; }
#Verdict Execution timeMemoryGrader output
Fetching results...