# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
748256 | 2023-05-26T01:52:18 Z | coding_snorlax | Art Class (IOI13_artclass) | C++14 | 0 ms | 0 KB |
#include<bits/stdc++.h> #include "style.h" using namespace std; int style(int H, int W, int R[500][500],int G[500][500],int B[500][500]){ srand(time(0)); for(int i=0;i<H;i++){ for(int j=0;j<W;j++){ int tmp1,tmp2,tmp3; cin>>tmp1>>tmp2>>tmp3; Max1=max(Max1,tmp1); Min1=min(Min1,tmp1); } } if(Min1>15) return 4; else return 1; }