Submission #599965

#TimeUsernameProblemLanguageResultExecution timeMemory
599965Mr_HusanboyParrots (IOI11_parrots)C++14
17 / 100
1 ms1004 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(i*10+M[i-1]); } }
#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]/10-1]=X[i]%10; } 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...