제출 #1219863

#제출 시각아이디문제언어결과실행 시간메모리
1219863SpyrosAliv앵무새 (IOI11_parrots)C++20
컴파일 에러
0 ms0 KiB
#include "parrots.h" #include <bits/stdc++.h> using namespace std; void encode(int n, vector<int> m) { int fin = 0; for (int i = 0; i < n; i++) { fin |= (1 << m[i]); } send(fin); }
#include "parrots.h" #include <bits/stdc++.h> using namespace std; void decode(int n, int l, vector<int> x) { vector<int> fin; for (int i = 0; i < n; i++) { if ((x[0] >> i) & 1) fin.push_back(1); else fin.push_back(0); } output(fin); }

컴파일 시 표준 에러 (stderr) 메시지

# 1번째 컴파일 단계

encoder.cpp:1:10: fatal error: parrots.h: No such file or directory
    1 | #include "parrots.h"
      |          ^~~~~~~~~~~
compilation terminated.