Submission #717722

#TimeUsernameProblemLanguageResultExecution timeMemory
717722EntityPlanttParrots (IOI11_parrots)C++14
34 / 100
1 ms1068 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 <vector> void decode(int n, int l, int x[]) { std::vector <int> m(n); for (int i = 0; i < l; i++) { m[x[i] >> 8] = x[i] & 255; } for (int &i : m) { output(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...