Submission #599968

#TimeUsernameProblemLanguageResultExecution timeMemory
599968Mr_HusanboyParrots (IOI11_parrots)C++14
34 / 100
1 ms1040 KiB
#include "encoder.h" #include "encoderlib.h" #include <bits/stdc++.h> using namespace std; void encode(int N, int M[]) { for(int i=1;i<=N;i++){ send(M[i-1]*100+i); } }
#include "decoder.h" #include "decoderlib.h" #include <bits/stdc++.h> using namespace std; void decode(int N, int L, int X[]) { vector<int> ans(L); for(int i=0; i<L; i++) { ans[X[i]%100 - 1] = X[i]/100; } for(int i=0;i<L;i++) output(ans[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...