1269번 : 대칭 차집합

김민관·2022년 9월 27일

백준_Silver

목록 보기
50/57

문제

파이썬

n, m = map(int, input().split())

a = set(map(int, input().split()))
b = set(map(int, input().split()))

print(len(a-b)+len(b-a))

풀이

  • set을 활용하여 풀이
profile
게임 개발일지 & IT 소식들 공유

0개의 댓글