# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1171482 | nuutsnoynton | Utrka (COCI14_utrka) | C++20 | 112 ms | 9028 KiB |
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll n, m, r, x, y, i, j,p, ans, t;
cin >> n;
string str;
multiset < string > S;
for (i = 1; i <= n; i ++) {
cin >> str;
S.insert(str);
}
for (i = 1; i < n; i ++) {
cin >> str;
S.erase(S.find(str));
}
auto R = S.begin();
cout << *R << endl;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |