Problem | arrayfind |
---|---|
User | trashcan08 |
Submission Time | 2025-01-30 09:33:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int32_t main()’:
arrayfind.cpp:18:21: error: no matching function for call to ‘std::multiset<long long int>::lower_bound()’
18 | if (s.lower_bound() != s.end()) {
| ^
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from arrayfind.cpp:1:
/usr/include/c++/9/bits/stl_multiset.h:810:7: note: candidate: ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = long long int; _Compare = std::less<long long int>; _Alloc = std::allocator<long long int>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<long long int>; std::multiset<_Key, _Compare, _Alloc>::key_type = long long int]’
810 | lower_bound(const key_type& __x)
| ^~~~~~~~~~~
/usr/include/