45452023-03-29 14:08:49MatematikaVetélkedő (75 pont)cpp17Wrong answer 15/7581ms9900 KiB
// Source: https://usaco.guide/general/io

#include <bits/stdc++.h>
using namespace std;

int main() {
	int n;
	cin >> n;
	vector<string> vec(n+1);
	for(int i=0; i<n; i++)
	{
		cin >> vec[i];
	}
	vec[n]="~";
	for(int i=0; i<n; i++)
	{
		sort(vec[i].begin(), vec[i].end());
	}
	sort(vec.begin(), vec.end());
	for(int i=0; i<n+1; i=i+2)
	{
		if(vec[i]!=vec[i+1])
		{
			cout << vec[i];
		}
	}
}
SubtaskSumTestVerdictTimeMemory
base15/75
1Accepted0/03ms1812 KiB
2Wrong answer0/081ms8208 KiB
3Accepted5/53ms2212 KiB
4Accepted5/53ms2324 KiB
5Accepted5/53ms2532 KiB
6Wrong answer0/53ms2768 KiB
7Wrong answer0/53ms3160 KiB
8Wrong answer0/53ms3204 KiB
9Wrong answer0/53ms3260 KiB
10Wrong answer0/539ms6296 KiB
11Wrong answer0/548ms6692 KiB
12Wrong answer0/556ms7480 KiB
13Wrong answer0/564ms8344 KiB
14Wrong answer0/571ms9116 KiB
15Wrong answer0/579ms9716 KiB
16Wrong answer0/579ms9900 KiB
17Wrong answer0/572ms9584 KiB