# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1171481 | nuutsnoynton | Utrka (COCI14_utrka) | C++20 | 0 ms | 324 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;
set < string > S;
for (i = 1; i <= n; i ++) {
cin >> str;
S.insert(str);
}
for (i = 1; i < n; i ++) {
cin >> str;
S.erase(str);
}
auto R = S.begin();
cout << *R << endl;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |