제출 #922254

#제출 시각아이디문제언어결과실행 시간메모리
922254kim앵무새 (IOI11_parrots)C++17
34 / 100
1 ms1316 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int N, int M[]) { int i; for(i=0; i<N; i++) send((10+i)*1000+M[i]); }
#include "decoder.h" #include "decoderlib.h" #include<bits/stdc++.h> using namespace std; void decode(int N, int L, int X[]) { int i; vector<pair<int,int>> vec; for(i=0; i<L; i++) { vec.emplace_back(X[i]/1000,X[i]%1000); } sort(vec.begin(),vec.end()); for(i=0; i<L; i++) { output(vec[i].second); } }
#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...