# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1088428 | Sunbae | Utrka (COCI14_utrka) | C++17 | 118 ms | 11188 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 <bits/stdc++.h>
using namespace std;
signed main(){
int n; cin>>n;
multiset<string> ms;
string s;
for(int i = 0; i<n; ++i){
cin>>s; ms.insert(s);
}
for(int i = 0; i<n-1; ++i){
cin>>s;
auto itr = ms.find(s);
if(itr != ms.end()) ms.erase(itr);
}
cout<<*ms.begin();
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |