Problem | lualectures |
---|---|
User | justin271828 |
Submission Time | 2024-12-09 09:31:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lualectures.cpp: In function ‘int main()’:
lualectures.cpp:29:33: error: no matching function for call to ‘std::set<std::pair<int, int> >::lower_bound(int)’
29 | int something = s.lower_bound(4);
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from lualectures.cpp:1:
/usr/include/c++/9/bits/stl_set.h:829:7: note: candidate: ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = std::pair<int, int>; _Compare = std::less<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<std::pair<int, int> >; std::set<_Key, _Compare, _Alloc>::key_type = std::pair<int, int>]’
829 | lower_bound(cons