Submission #601186

#TimeUsernameProblemLanguageResultExecution timeMemory
601186vh50Parrots (IOI11_parrots)C++17
34 / 100
1 ms1036 KiB
#include <bits/stdc++.h> #include "encoder.h" #include "encoderlib.h" using namespace std; void encode(int N, int M[]) { for(int i = 0; i < N; i++) send((i << 9) + M[i]); }
#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...