96512024-02-23 17:53:11KristófVetélkedő (75 pont)cpp17Accepted 75/7578ms6356 KiB
#include <iostream>
#include <bits/stdc++.h>
using namespace std;

int main()
{
    int n;
    cin>>n;
    map<string,int>db;
    string s;
    for(int i=0;i<n;i++)
    {
    cin>>s;
    sort(s.begin(),s.end());
    db[s]++;
    }
    for(auto [a,x] : db)
    {
    if(x%2==1)
        {
        cout<<a;
        break;
        }
    }




    return 0;
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1816 KiB
2Accepted0/076ms4612 KiB
3Accepted5/53ms2220 KiB
4Accepted5/53ms2424 KiB
5Accepted5/53ms2672 KiB
6Accepted5/53ms2724 KiB
7Accepted5/53ms2736 KiB
8Accepted5/53ms2736 KiB
9Accepted5/54ms2872 KiB
10Accepted5/537ms4240 KiB
11Accepted5/546ms4616 KiB
12Accepted5/554ms5120 KiB
13Accepted5/563ms5540 KiB
14Accepted5/568ms5992 KiB
15Accepted5/576ms6356 KiB
16Accepted5/578ms6308 KiB
17Accepted5/568ms6192 KiB