Problem cups
User pseudocoder101
Submission Time 2025-10-31 17:12:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cups.cpp: In function ‘int main()’:
cups.cpp:19:27: error: could not convert ‘a.std::set<long long int>::find((x - add))’ from ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’} to ‘bool’
19 | if (a.find(x-add)){
| ~~~~~~^~~~~~~
| |
| std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}