제출 #471442

#제출 시각아이디문제언어결과실행 시간메모리
471442flappybird앵무새 (IOI11_parrots)C++14
17 / 100
2 ms872 KiB
#include "encoder.h" #include "encoderlib.h" typedef int ll; void encode(int N, int M[]) { ll a = 0; ll i; for (i = 0; i < N; i++) { a *= 2; a += M[i]; } send(a); }
#include "decoder.h" #include "decoderlib.h" typedef int ll; void decode(int N, int L, int X[]) { ll i; for (i = 0; i < N; i++) { output(ll(bool(X[0] & (1 << (N - i - 1))))); } }
#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...