89402024-02-06 13:56:17IgnácVetélkedő (75 pont)cpp14Accepted 75/7576ms13580 KiB
// Source: https://usaco.guide/general/io

#include <bits/stdc++.h>
#include <vector>
using namespace std;

int main() {
	int n;
	cin >> n;
	map<string, int> a;
	for (int i = 0; i < n; i++) {
		string s;
		cin >> s;
		sort(s.begin(), s.end());
		a[s]++;
	}

	for (pair<string, int> p : a) {
		if (p.second % 2 == 1) cout << p.first;
	}
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1940 KiB
2Accepted0/075ms5664 KiB
3Accepted5/53ms3204 KiB
4Accepted5/52ms3208 KiB
5Accepted5/53ms3336 KiB
6Accepted5/53ms3596 KiB
7Accepted5/53ms3916 KiB
8Accepted5/53ms4156 KiB
9Accepted5/54ms4404 KiB
10Accepted5/539ms6296 KiB
11Accepted5/546ms7320 KiB
12Accepted5/554ms8292 KiB
13Accepted5/561ms9392 KiB
14Accepted5/567ms10632 KiB
15Accepted5/575ms11892 KiB
16Accepted5/576ms12792 KiB
17Accepted5/568ms13580 KiB