# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1088420 |
2024-09-14T10:58:11 Z |
Sunbae |
Utrka (COCI14_utrka) |
C++17 |
|
0 ms |
348 KB |
#include <bits/stdc++.h>
using namespace std;
map<string,int>mp;
string tmp;
signed main(){
int n; cin>>n;
for(int i = 0; i<2*(n-1) + 1; ++i){
cin>>tmp;
mp[tmp]++;
}
for(pair<string,int> it: mp) if(it.second == 1) cout<<it.first;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
2 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |