Submission #601184

#TimeUsernameProblemLanguageResultExecution timeMemory
601184vh50Parrots (IOI11_parrots)C++17
34 / 100
2 ms1032 KiB
#include <bits/stdc++.h> #include "encoder.h" #include "encoderlib.h" using namespace std; void encode(int N, int M[]) { int aux; for(int i = 0; i < N; i++) { aux = (i << 9) + M[i]; send(aux); } }
#include <bits/stdc++.h> #include "decoder.h" #include "decoderlib.h" using namespace std; void decode(int N, int L, int X[]) { sort(X, X + N); for(int i = 0; i < N; i++) output(X[i] - (i << 9)); }
#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...