You are viewing a single comment's thread. Return to all comments →
m = int(input()) setM = set(map(int, input().split())) n = int(input()) setN = set(map(int, input().split())) print(*sorted(setM ^ setN), sep="\n")
Seems like cookies are disabled on this browser, please enable them to open this website
Symmetric Difference
You are viewing a single comment's thread. Return to all comments →