제출 #351474

#제출 시각아이디문제언어결과실행 시간메모리
351474juggernaut앵무새 (IOI11_parrots)C++14
0 / 100
5 ms1340 KiB
#include"encoder.h" #include"encoderlib.h" #include<bits/stdc++.h> using namespace std; void encode(int n,int a[]){ for(int i=0;i<n;i++) for(int j=0;j<8;j++) if(a[i]>>j&1) send((i<<3)|j); }
#include"decoder.h" #include"decoderlib.h" #include<bits/stdc++.h> using namespace std; int res[64]; void decode(int n,int m,int a[]){ for(int i=0;i<m;i++)res[a[i]>>3]|=(1<<(a[i]&7)); for(int i=0;i<n;i++)output(res[i]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...