Submission #904306

#TimeUsernameProblemLanguageResultExecution timeMemory
904306Jawad_Akbar_JJUtrka (COCI14_utrka)C++17
80 / 80
223 ms11192 KiB
#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 timeMemoryGrader output
Fetching results...