제출 #870762

#제출 시각아이디문제언어결과실행 시간메모리
87076212345678앵무새 (IOI11_parrots)C++17
34 / 100
1 ms1316 KiB
#include "encoder.h" #include "encoderlib.h" #include <bits/stdc++.h> using namespace std; void encode(int N, int M[]) { for(int i=0; i<N; i++) { send(M[i]+256*i); } }
#include "decoder.h" #include "decoderlib.h" #include <bits/stdc++.h> using namespace std; void decode(int N, int L, int X[]) { vector<int> ans(N); for (int i=0; i<N; i++) ans[X[i]/256]=X[i]%256; 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...