Problem eeducation
User wongyikai
Submission Time 2024-01-06 02:59:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:22:13: error: could not convert ‘b.std::set<long long int>::find(a[i])’ from ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’} to ‘bool’
22 | if (b.find(a[i])) cout << a[i] << " ";
| ~~~~~~^~~~~~
| |
| std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}