You are viewing a single comment's thread. Return to all comments →
m = input() a = set(map(int, input().split(" "))) n = input() b = set(map(int, input().split(" "))) print(*sorted(a.difference(b).union(b.difference(a))), 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 →