# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
904306 | Jawad_Akbar_JJ | Utrka (COCI14_utrka) | C++17 | 223 ms | 11192 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>
using namespace std;
int main() {
multiset<string> s;
int n;
cin>>n;
for (int i=1;i<=n;i++){
string ss;
cin>>ss;
s.insert(ss);
}
for (int i=1;i<n;i++){
string ss;
cin>>ss;
s.erase(s.find(ss));
}
cout<<*begin(s)<<endl;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |