제출 #707251

#제출 시각아이디문제언어결과실행 시간메모리
707251SamNguyen앵무새 (IOI11_parrots)C++14
34 / 100
2 ms1040 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int N, int M[]) { for (int i = 0; i < N; i++) send(M[i] | (i << 8)); }
#include "decoder.h" #include "decoderlib.h" #include <bits/stdc++.h> using namespace std; void decode(int N, int L, int X[]) { vector<int> res(N); for (int t = 0; t < L; t++) { int v = X[t] & 0xff; int i = X[t] >> 8; res[i] = v; } for (int e : res) output(e); }
#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...