19092022-12-09 22:00:15kdbVetélkedő (75 pont)cpp11Accepted 75/7552ms6116 KiB
#include <iostream>
#include <map>
#include <algorithm>
using namespace std;
int main()
{
    cin.tie(nullptr);
    cout.tie(nullptr);
    ios_base::sync_with_stdio(false);
    int n;
    cin >> n;
    map<string, int>m;
    while (n--)
    {
        string s;
        cin >> s;
        sort(s.begin(), s.end());
        m[s]++;
    }
    for (auto i : m) if (i.second & 1) cout << i.first << endl;
    return 0;
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1824 KiB
2Accepted0/050ms4628 KiB
3Accepted5/52ms2224 KiB
4Accepted5/52ms2200 KiB
5Accepted5/52ms2416 KiB
6Accepted5/52ms2624 KiB
7Accepted5/53ms2748 KiB
8Accepted5/53ms2956 KiB
9Accepted5/53ms3036 KiB
10Accepted5/526ms4432 KiB
11Accepted5/529ms4760 KiB
12Accepted5/535ms5024 KiB
13Accepted5/541ms5272 KiB
14Accepted5/545ms5636 KiB
15Accepted5/552ms6116 KiB
16Accepted5/550ms5972 KiB
17Accepted5/545ms5732 KiB