# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
523475 | blue | Utrka (COCI14_utrka) | C++17 | 240 ms | 11144 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 <iostream>
#include <set>
#include <string>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
multiset<string> S;
int N;
cin >> N;
for(int i = 1; i <= N; i++)
{
string s;
cin >> s;
S.insert(s);
}
for(int i = 1; i <= N-1; i++)
{
string s;
cin >> s;
S.erase(S.find(s));
}
cout << *S.begin() << '\n';
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |