# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
648901 | Ghosty_v2 | Utrka (COCI14_utrka) | C++14 | 1 ms | 212 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;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin>>n;
vector <string> arr(n);
for(int i=0;i<n;i++) cin>>arr[i];
set <string> rapid(arr.begin(),arr.end());
for(int i=0;i<n-1;i++) {
string s;
cin>>s;
rapid.erase(s);
}
for(auto it:rapid) {
cout<<it<<endl;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |