# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
383322 | Iwanttobreakfree | Utrka (COCI14_utrka) | C++17 | 1 ms | 364 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 <iostream>
#include <vector>
using namespace std;
int main(){
int n;
string str;
cin>>n;
vector<string> v(n);
for(int i=0;i<n;i++){
cin>>v[i];
}
for(int i=0;i<n-1;i++){
cin>>str;
for(int j=0;j<n;j++){
if(str==v[j]){
str="";
break;
}
}
}
for(int i=0;i<n;i++){
if(v[i]!=""){
cout<<v[i];
break;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |