Submission #224327

#TimeUsernameProblemLanguageResultExecution timeMemory
224327illequiprogrammatUtrka (COCI14_utrka)Cpython 3
80 / 80
501 ms18108 KiB
n = int(input())
people = {}
for i in range(2*n - 1):
  j = input()
  if j in people:
    people[j] += 1
  else:
    people[j] = 1

for person in people.keys():
  if people[person] % 2 != 0:
    print(person)
    break
#Verdict Execution timeMemoryGrader output
Fetching results...