# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
215957 |
2020-03-26T13:03:31 Z |
borok2311 |
Utrka (COCI14_utrka) |
C++ |
|
5 ms |
512 KB |
#include<bits/stdc++.h>
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];
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
5 ms |
256 KB |
Output is correct |
2 |
Runtime error |
5 ms |
512 KB |
Execution killed with signal 11 (could be triggered by violating memory limits) |
3 |
Halted |
0 ms |
0 KB |
- |