78552024-01-11 13:28:39AblablablaVetélkedő (75 pont)cpp17Accepted 75/7582ms6688 KiB
#include <bits/stdc++.h>

using namespace std;

int main()
{
    int n;
    cin >> n;

    map<string, int> db;

    for(int i = 0; i < n; i++){
        string s;
        cin >> s;

        sort(s.begin(), s.end());

        db[s]++;
    }

    for(auto [a, x] : db){
        if(x % 2 == 1){
            cout << a << "\n";
            break;
        }
    }
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1816 KiB
2Accepted0/082ms4932 KiB
3Accepted5/53ms2600 KiB
4Accepted5/53ms2684 KiB
5Accepted5/52ms2712 KiB
6Accepted5/53ms2964 KiB
7Accepted5/53ms3060 KiB
8Accepted5/53ms2944 KiB
9Accepted5/54ms3016 KiB
10Accepted5/541ms4404 KiB
11Accepted5/548ms4872 KiB
12Accepted5/557ms5344 KiB
13Accepted5/564ms5828 KiB
14Accepted5/571ms6132 KiB
15Accepted5/581ms6464 KiB
16Accepted5/581ms6688 KiB
17Accepted5/574ms6568 KiB