제출 #223969

#제출 시각아이디문제언어결과실행 시간메모리
223969Kenzo_1114앵무새 (IOI11_parrots)C++17
0 / 100
10 ms1536 KiB
#include<bits/stdc++.h> #include "encoder.h" #include "encoderlib.h" using namespace std; void encode(int n, int m[]) { for(int i = 0; i < n; i++) { for(int k = 7; k >= 0; k--) if(m[i] & (1 << k)) send(k + 8 * i); } }
#include<bits/stdc++.h> #include "decoder.h" #include "decoderlib.h" using namespace std; int ans[40]; void decode(int n, int l, int x[]) { for(int i = 0; i < l; i++) ans[x[i] / 8] += (1 << (x[i] % 8)); for(int i = 0; i < n; i++) output(ans[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...