# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
76843 | win11905 | Utrka (COCI14_utrka) | C++11 | 345 ms | 18680 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() {
multiset<string> S;
int n; cin >> n;
for(int i = 0; i < n; ++i) {
string now; cin >> now;
S.emplace(now);
}
for(int i = 1; i < n; ++i) {
string now; cin >> now;
S.erase(S.find(now));
}
cout << *S.begin() << '\n';
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |