Submission #648909

#TimeUsernameProblemLanguageResultExecution timeMemory
648909Ghosty_v2Utrka (COCI14_utrka)C++17
80 / 80
155 ms11096 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ios_base::sync_with_stdio(false); cin.tie(0); int n; cin>>n; multiset <string> arr; for(int i=0;i<n;i++) { string x; cin>>x; arr.insert(x); } for(int i=0;i<n-1;i++) { string s; cin>>s; auto it = arr.find(s); arr.erase(it); } for(auto it:arr) { cout<<it<<endl; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...