96782024-02-23 22:35:29999Vetélkedő (75 pont)cpp17Accepted 75/7582ms6136 KiB
#include <bits/stdc++.h>
using namespace std;
#define int long long

signed main() 
{
  int n;cin>>n;
  map<string,int> m;
  for(int i = 0;i<n;i++){
    string s;cin>>s;
    sort(s.begin(),s.end());
    m[s]++;
  }
  for(auto k:m){
    if(k.second%2==1){
      cout<<k.first;
      return 0;
    }
  }
}
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/03ms1808 KiB
2Accepted0/082ms4628 KiB
3Accepted5/53ms2268 KiB
4Accepted5/52ms2300 KiB
5Accepted5/53ms2436 KiB
6Accepted5/53ms2644 KiB
7Accepted5/53ms2864 KiB
8Accepted5/53ms2960 KiB
9Accepted5/54ms3084 KiB
10Accepted5/541ms4588 KiB
11Accepted5/548ms4900 KiB
12Accepted5/557ms5164 KiB
13Accepted5/565ms5416 KiB
14Accepted5/572ms5672 KiB
15Accepted5/582ms6136 KiB
16Accepted5/581ms6068 KiB
17Accepted5/572ms6092 KiB