# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
659985 | ajthelegendcoder | Utrka (COCI14_utrka) | C++17 | 189 ms | 10376 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;
int main(){
int n;
cin >> n;
map<string,int> mp;
int n2 = 2*n - 1;
while(n2--){
string name;
cin >> name;
mp[name]++;
}
for(auto m : mp){
if(m.second % 2 == 1) cout << m.first;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |