| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1342433 | nathlol2 | Utrka (COCI14_utrka) | C++20 | 111 ms | 8204 KiB |
#include <bits/stdc++.h>
using namespace std;
int n; string x;
multiset<string> s;
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> n;
for(int i = 1;i<=2 * n - 1;i++){
cin >> x;
if(s.find(x) != s.end()) s.erase(s.find(x));
else s.insert(x);
}
cout << *s.begin();
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
