2026-03-20-3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
bool submitted[31] = {}; // 1~30 인덱스 사용, 0으로 초기화
for (int i = 0; i < 28; i++) {
int x;
cin >> x;
submitted[x] = true;
}
for (int i = 1; i <= 30; i++)
if (!submitted[i])
cout << i << "\n";
return 0;
}
이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.