# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
18653 | mindol | Utrka (COCI14_utrka) | C++14 | 266 ms | 11756 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<string>
#include<unordered_set>
using namespace std;
unordered_multiset<string> S;
int main()
{
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
string str;
cin>>str;
S.insert(str);
}
for(int i=1;i<=n-1;i++)
{
string str;
cin>>str;
S.erase(S.find(str));
}
cout<<*S.begin();
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |