152482025-02-17 17:32:17TakacsAndrasVetélkedő (75 pont)cpp17Accepted 75/7576ms4660 KiB
#include <bits/stdc++.h>
using namespace std;
int main() {
    int n; cin >> n;
    vector<string> a(n);
    map<string,int> b;
    for (int i = 0; i < n; i++) {
        cin >> a[i];
        sort(a[i].begin(), a[i].end());
        b[a[i]]++;
    }
    for (auto x : b) {
        if (x.second % 2 == 1) {
            cout << x.first;
            return 0;
        }
    }
}

SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/01ms316 KiB
2Accepted0/075ms4656 KiB
3Accepted5/51ms316 KiB
4Accepted5/51ms316 KiB
5Accepted5/51ms316 KiB
6Accepted5/51ms316 KiB
7Accepted5/52ms508 KiB
8Accepted5/52ms316 KiB
9Accepted5/52ms456 KiB
10Accepted5/537ms2612 KiB
11Accepted5/545ms2972 KiB
12Accepted5/552ms3508 KiB
13Accepted5/561ms3760 KiB
14Accepted5/568ms4280 KiB
15Accepted5/576ms4596 KiB
16Accepted5/575ms4660 KiB
17Accepted5/567ms4224 KiB