# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1265921 | canhnam357 | Utrka (COCI14_utrka) | C++20 | 89 ms | 9028 KiB |
#include <bits/stdc++.h>
#define int long long
#define mask(i) (1LL << (i))
using namespace std;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
multiset<string> s;
for (int i = 0; i < n; i++)
{
string t;
cin >> t;
s.insert(t);
}
for (int i = 0; i < n - 1; i++)
{
string t;
cin >> t;
s.erase(s.find(t));
}
cout << *s.begin();
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |