Submission #705325

#TimeUsernameProblemLanguageResultExecution timeMemory
705325tht2005Parrots (IOI11_parrots)C++17
34 / 100
1 ms1040 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int N, int M[]) { for(int i = 0; i < N; ++i) { send((i << 8) | M[i]); } }
#include "decoder.h" #include "decoderlib.h" #include <algorithm> void decode(int N, int L, int X[]) { std::sort(X, X + N); for(int i = 0; i < N; ++i) { output(X[i] & 255); } }
#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...