# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
383320 | Iwanttobreakfree | Utrka (COCI14_utrka) | C++17 | 3 ms | 364 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(){
int n;
string str;
cin>>n;
set<string> s;
for(int i=0;i<n;i++){
cin>>str;
s.insert(str);
}
for(int i=0;i<n-1;i++){
cin>>str;
s.erase(str);
}
for(auto it=s.begin();it!=s.end();it++){
str=*it;
}
cout<<str;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |