# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1171492 | javkhlantogs | Utrka (COCI14_utrka) | C++20 | 169 ms | 8252 KiB |
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
ll n,i,j,k,cnt=0,p=1;
cin>>n;
string s;
map<string,ll> mp;
for(i=0 ; i<n ; i++){
cin>>s;
mp[s]++;
}
for(i=0 ; i<n-1 ; i++){
cin>>s;
mp[s]--;
}
for(auto v:mp){
if(v.second>0) cout<<v.first;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |