제출 #995295

#제출 시각아이디문제언어결과실행 시간메모리
995295Saul0906앵무새 (IOI11_parrots)C++14
17 / 100
1 ms1312 KiB
#include "encoder.h" #include "encoderlib.h" #define rep(a,b,c) for(int a=b; a<c; a++) void encode(int N, int M[]){ rep(i,0,N) send(i^(M[i]<<4)); }
#include "decoder.h" #include "decoderlib.h" #define rep(a,b,c) for(int a=b; a<c; a++) using namespace std; void decode(int N, int L, int X[]){ int a[N], x; rep(i,0,L){ x=X[i]&(1<<4); X[i]^=x; a[X[i]]=x>>4; } rep(i,0,N) output(a[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...