# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
758287 | KN200711 | Utrka (COCI14_utrka) | C++14 | 144 ms | 10404 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
# include <bits/stdc++.h>
using namespace std;
map<string, int> S;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int N;
cin>>N;
for(int i=0;i<N;i++) {
string c;
cin>>c;
S[c]++;
}
for(int i=1;i<N;i++) {
string c;
cin>>c;
S[c]--;
}
for(auto p : S) {
if(p.second == 1) cout<<p.first<<"\n";
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |