# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
461328 |
2021-08-09T20:07:45 Z |
JasperL |
Utrka (COCI14_utrka) |
C++14 |
|
1 ms |
204 KB |
#include <iostream>
#include <vector>
#include <map>
using namespace std;
#define maxn 100005
int n;
vector<string> nm;
map<string,bool> seen;
int main() {
cin >> n;
for (int i = 0; i < n; i++) {
string s; cin >> s;
nm.push_back(s); seen[s] = false;
}
for (int i = 0; i < n-1; i++) {
string s; cin >> s;
seen[s] = true;
}
for (string s : nm) {
if (!seen[s]) cout << s << endl;
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |