91812024-02-17 16:31:28FarkasZénóVetélkedő (75 pont)python3Accepted 75/75194ms24984 KiB
from sys import stdin
from collections import defaultdict

csapatok = defaultdict(int)
N = int(stdin.readline())
for _ in range(N):
	azonosito = ''.join(sorted(stdin.readline().strip()))
	csapatok[azonosito] += 1
for azonosito, darab in csapatok.items():
	if darab % 2 == 1:
		print(azonosito)
		break
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/021ms12012 KiB
2Accepted0/0194ms16516 KiB
3Accepted5/519ms13520 KiB
4Accepted5/519ms13760 KiB
5Accepted5/520ms13812 KiB
6Accepted5/519ms14100 KiB
7Accepted5/523ms14036 KiB
8Accepted5/521ms14544 KiB
9Accepted5/523ms15024 KiB
10Accepted5/5107ms17144 KiB
11Accepted5/5125ms17828 KiB
12Accepted5/5143ms19920 KiB
13Accepted5/5158ms20732 KiB
14Accepted5/5174ms21576 KiB
15Accepted5/5194ms23140 KiB
16Accepted5/5190ms24128 KiB
17Accepted5/5178ms24984 KiB