๋ฌธ์
https://www.acmicpc.net/problem/1269
ํ์ด
# ๋ฐฑ์ค 1269๋ฒ ๋ฌธ์ - ๋์นญ ์ฐจ์งํฉ
a_cnt, b_cnt = map(int, input().split())
A = set(map(int, input().split()))
B = set(map(int, input().split()))
print(len(A^B))
'๐๏ธ Algorithm > ๐ฉ ๋ฐฑ์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๐ฉ [๋ฐฑ์ค] [Python] [Gold5] 2293๋ฒ_๋์ 1 (0) | 2023.02.11 |
---|---|
๐ฉ [๋ฐฑ์ค] [Python] [Gold5] 14503๋ฒ_๋ก๋ด ์ฒญ์๊ธฐ (0) | 2023.02.10 |
๐ฉ [๋ฐฑ์ค] [Python] [Silver1] 1303๋ฒ_์ ์-์ ํฌ (0) | 2023.02.09 |
๐ฉ [๋ฐฑ์ค] [Python] [Silver1] 2504๋ฒ_๊ดํธ์ ๊ฐ (0) | 2023.02.08 |
๐ฉ [๋ฐฑ์ค] [Python] [Gold5] 1068๋ฒ_ํธ๋ฆฌ (0) | 2023.01.04 |