# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
498611 | ahmeteren | Utrka (COCI14_utrka) | C++17 | 155 ms | 8420 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
map<string, int> mp;
for(int i = 0; i < 2 * n - 1; i++)
{
string str;
cin >> str;
mp[str]++;
}
for(auto i : mp)
{
if(i.second % 2)
{
cout << i.first << '\n';
}
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |