# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
920519 | speedcode | Utrka (COCI14_utrka) | C++17 | 137 ms | 10404 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(){
ios::sync_with_stdio(false);
cin.tie(0);
set<string> data;
int N;
cin >> N;
N*=2;
N--;
string s;
for(int i = 0; i < N; i++){
cin >> s;
if(data.count(s)) data.erase(s);
else data.insert(s);
}
for(auto a : data){
cout << a << '\n';
return 0;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |