96502024-02-23 17:52:33KristófKert (75 pont)cpp17Wrong answer 0/753ms4128 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
base0/75
1Wrong answer0/03ms1852 KiB
2Wrong answer0/03ms2004 KiB
3Wrong answer0/43ms2212 KiB
4Wrong answer0/43ms2428 KiB
5Wrong answer0/43ms2636 KiB
6Wrong answer0/43ms2852 KiB
7Wrong answer0/42ms2936 KiB
8Wrong answer0/43ms2960 KiB
9Wrong answer0/43ms3328 KiB
10Wrong answer0/43ms3120 KiB
11Wrong answer0/63ms3364 KiB
12Wrong answer0/63ms3592 KiB
13Wrong answer0/63ms3708 KiB
14Wrong answer0/63ms3720 KiB
15Wrong answer0/63ms3840 KiB
16Wrong answer0/63ms4004 KiB
17Wrong answer0/73ms4128 KiB