# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
916570 | 2024-01-26T06:14:27 Z | Wansur | 앵무새 (IOI11_parrots) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> #define f first #define s second #define ent '\n'; using namespace std; typedef long long ll; const int mx=2e5+12; void output(int b); void send(int a); void decode(int m, int n, int a[]){ for(int i=0;i<m;i++){ output(0); } } void encode(int n, int a[]){ for(int i=0;i<n;i++){ send(a[i]); a[i]=0; } }