# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
215939 |
2020-03-26T12:41:52 Z |
borok2311 |
Utrka (COCI14_utrka) |
C++14 |
|
5 ms |
384 KB |
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(){
int N;
string temp;
cin>>N;
vector<string> Word(N);
for(int i = 0; i < N; i++){
cin>>Word[i];
}
for(int i = 0; i <N - 1; i++){
cin>>temp;
for(int j = 0; j < N; j++){
if(Word[j] == temp){
Word.erase(Word.begin()+j);
}
}
}
cout<<Word[0]<<endl;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
4 ms |
256 KB |
Output is correct |
2 |
Runtime error |
5 ms |
384 KB |
Execution killed with signal 11 (could be triggered by violating memory limits) |
3 |
Halted |
0 ms |
0 KB |
- |