45892023-03-30 10:28:00PallanekPéterVetélkedő (75 pont)cpp11Accepted 75/7576ms6524 KiB
#include<iostream>
#include<bits/stdc++.h>

using namespace std;

map<string, int> tagok;
string a;

int main(){
    int N;
    cin >> N;
    for(int i = 0; i < N; i++)
    {
        cin >> a;
        sort(a.begin(), a.end());
        tagok[a]++;
    }

    for (pair<string, int> v:tagok)
    {
        if(v.second%2==1) cout << v.first << "\n";
    }
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1812 KiB
2Accepted0/076ms4760 KiB
3Accepted5/53ms2220 KiB
4Accepted5/53ms2364 KiB
5Accepted5/53ms2608 KiB
6Accepted5/53ms2788 KiB
7Accepted5/53ms3012 KiB
8Accepted5/53ms3096 KiB
9Accepted5/54ms3228 KiB
10Accepted5/537ms4708 KiB
11Accepted5/546ms5044 KiB
12Accepted5/554ms5436 KiB
13Accepted5/561ms5772 KiB
14Accepted5/567ms5992 KiB
15Accepted5/575ms6524 KiB
16Accepted5/575ms6508 KiB
17Accepted5/568ms6364 KiB