제출 #1007628

#제출 시각아이디문제언어결과실행 시간메모리
1007628nomuluun앵무새 (IOI11_parrots)C++14
17 / 100
1 ms1056 KiB
#include<bits/stdc++.h> using namespace std; void send(int a); void output(int b); void encode(int N, int M[]){ for(int i=0; i<N; i++){ if(M[i]==1)send(i); } }
#include<bits/stdc++.h> using namespace std; void send(int a); void output(int b); void decode(int N, int L, int X[]){ bool b[10]={0}; for(int i=0; i<L; i++){ b[X[i]]=1; } for(int i=0; i<N; i++){ if(b[i]==1)output(1); else output(0); } }
#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...