# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
498609 |
2021-12-25T18:46:54 Z |
ahmeteren |
Utrka (COCI14_utrka) |
C++17 |
|
1 ms |
296 KB |
#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 == 1)
{
cout << i.first << '\n';
}
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
296 KB |
Output is correct |
2 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |