Problem | ccs |
---|---|
User | shawn |
Submission Time | 2024-07-05 22:41:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int32_t main()’:
ccs.cpp:29:22: error: no match for ‘operator||’ (operand types are ‘bool’ and ‘std::_Rb_tree_const_iterator<long long int>’)
29 | if (u==a.end() || uu = a.end()){
| ~~~~~~~~~~ ^~ ~~
| | |
| bool std::_Rb_tree_const_iterator<long long int>
ccs.cpp:29:22: note: candidate: ‘operator||(bool, bool)’ <built-in>
29 | if (u==a.end() || uu = a.end()){
| ~~~~~~~~~~~^~~~~
ccs.cpp:29:22: note: no known conversion for argument 2 from ‘std::_Rb_tree_const_iterator<long long int>’ to ‘bool’
In file included from /usr/include/c++/9/valarray:603,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from ccs.cpp:1:
/usr/include/c++/9/bits/valarray_after.h:416:5: note: candidate: ‘template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<