-Code
n, m, k = map(int, input().split())
res = [0] * (n + 1)
for _ in range(2):
for i in list(map(int, input().split())):
res[i] = 1
print(n - m - k)
for i in range(1, n + 1):
if res[i] == 0:
print(i, end=" ")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 31994번 강당 대관 (0) | 2024.06.19 |
---|---|
[백준/파이썬] 31962번 등교 (0) | 2024.06.18 |
[백준/파이썬] 30215번 Age Expression (0) | 2024.06.16 |
[백준/파이썬] 13456번 Richard Hamming (1) | 2024.06.15 |
[백준/파이썬] 25374번 등급 계산하기 (1) | 2024.06.14 |