Submission #383322

#TimeUsernameProblemLanguageResultExecution timeMemory
383322IwanttobreakfreeUtrka (COCI14_utrka)C++17
0 / 80
1 ms364 KiB
#include <iostream> #include <vector> using namespace std; int main(){ int n; string str; cin>>n; vector<string> v(n); for(int i=0;i<n;i++){ cin>>v[i]; } for(int i=0;i<n-1;i++){ cin>>str; for(int j=0;j<n;j++){ if(str==v[j]){ str=""; break; } } } for(int i=0;i<n;i++){ if(v[i]!=""){ cout<<v[i]; break; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...