Submission #383320

#TimeUsernameProblemLanguageResultExecution timeMemory
383320IwanttobreakfreeUtrka (COCI14_utrka)C++17
0 / 80
3 ms364 KiB
#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 timeMemoryGrader output
Fetching results...