You are viewing a single comment's thread. Return to all comments →
from collections import defaultdict dd = defaultdict(int) mem = int(input()) ll = list(map(int,input().split())) for v in ll: if v in dd.keys(): dd[v]=dd[v]+1 else: dd[v]=1 for k,v in dd.items(): if v==1: print(k)
Seems like cookies are disabled on this browser, please enable them to open this website
The Captain's Room
You are viewing a single comment's thread. Return to all comments →