# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
10708 | tncks0121 | Utrka (COCI14_utrka) | C++14 | 444 ms | 12768 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;
int N;
map<string, int> C;
int main() {
cin >> N;
for(int i = 0; i < N; i++) {
string s; cin >> s;
C[s]++;
}
for(int i = 0; i < N-1; i++) {
string s; cin >> s;
C[s]--;
}
for(auto c : C) {
if(c.second == 1) cout << c.first;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |