# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16362 | eaststar | Utrka (COCI14_utrka) | C++14 | 296 ms | 11888 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;
char c[30];
map<string,int> a;
int main(){
int i,n;
scanf("%d",&n);
for(i=1;i<=n;++i){
scanf("%s",c);
string w;
w+=c;
++a[w];
}
for(i=1;i<n;++i){
scanf("%s",c);
string w;
w+=c;
--a[w];
}
for(auto x:a)if(x.second)printf("%s",x.first.c_str());
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |