Submission #595833

#TimeUsernameProblemLanguageResultExecution timeMemory
595833snasibov05Parrots (IOI11_parrots)C++14
34 / 100
2 ms1036 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int n, int m[]){ for (int i = 0; i < n; ++i){ send(n * m[i] + i); } }
#include "decoder.h" #include "decoderlib.h" #include "bits/stdc++.h" using namespace std; void decode(int n, int l, int x[]){ vector<int> v(n); for (int i = 0; i < l; ++i){ v[x[i] % n] = x[i] / n; } for (int i = 0; i < n; ++i) output(v[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...