95202024-02-22 13:33:42DohajovDanielVetélkedő (75 pont)python3Accepted 75/75317ms18760 KiB
from collections import defaultdict
def kezdoert():
    return 0
vetaz = defaultdict(kezdoert)
csdb = int(input())
for i in range(csdb):
    azon = list(str(input()))
    if "\r" in azon: azon.remove("\r")
    azon.sort()
    vetaz[''.join(azon)] +=1
vetazd = dict(vetaz)
for i,ert in vetazd.items():
    if ert % 2 == 1:
        print(i)
        break

"""
5
9d6
8ac2
ica
c28a
d69

"""
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/019ms11868 KiB
2Accepted0/0316ms16632 KiB
3Accepted5/520ms12256 KiB
4Accepted5/520ms12544 KiB
5Accepted5/520ms12916 KiB
6Accepted5/520ms13076 KiB
7Accepted5/524ms13232 KiB
8Accepted5/524ms13444 KiB
9Accepted5/524ms13576 KiB
10Accepted5/5165ms15648 KiB
11Accepted5/5194ms16084 KiB
12Accepted5/5230ms17568 KiB
13Accepted5/5256ms17856 KiB
14Accepted5/5280ms18340 KiB
15Accepted5/5317ms18160 KiB
16Accepted5/5312ms18584 KiB
17Accepted5/5284ms18760 KiB