# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
335629 | Joshc | Utrka (COCI14_utrka) | Cpython 3 | 390 ms | 17884 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
n = int(input())
people = {}
for i in range(n):
a = input()
if a not in people:
people[a] = 1
else:
people[a] += 1
for i in range(n - 1):
a = input()
people[a] -= 1
for a in people:
if people[a] != 0:
print(a)
break;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |