Problem party
User WILLI1071A
Submission Time 2026-06-17 20:57:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘void recurese(std::vector<int>&)’:
party.cpp:10:12: error: no match for ‘operator!’ (operand type is ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’})
10 | if(!s1.find(vec2[i])){
| ^~~~~~~~~~~~~~~~~
party.cpp:10:12: note: candidate: ‘operator!(bool)’ <built-in>
party.cpp:10:12: note: no known conversion for argument 1 from ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘bool’