71312023-12-31 12:05:46xxxVetélkedő (75 pont)cpp17Accepted 75/7552ms6340 KiB
#include <bits/stdc++.h>
using namespace std;

int main() {
	ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
	int n;
	cin >> n;
	map<string, int> m;
	for(int i = 0; i < n; i++) {
        string s;
        cin >> s;
        sort(s.begin(), s.end());
        m[s]++;
	}

    for(auto [s, x] : m) {
        if (x & 1) {
            cout << s << endl;
            return 0;
        }
    }

	return 0;
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1824 KiB
2Accepted0/050ms4776 KiB
3Accepted5/53ms2268 KiB
4Accepted5/53ms2476 KiB
5Accepted5/53ms2824 KiB
6Accepted5/53ms2964 KiB
7Accepted5/53ms3140 KiB
8Accepted5/53ms3228 KiB
9Accepted5/53ms3232 KiB
10Accepted5/526ms4504 KiB
11Accepted5/530ms4972 KiB
12Accepted5/535ms5500 KiB
13Accepted5/541ms5760 KiB
14Accepted5/546ms6224 KiB
15Accepted5/552ms6340 KiB
16Accepted5/550ms6332 KiB
17Accepted5/546ms6208 KiB