Problem cakerun
User Xiaoyang
Submission Time 2025-03-19 23:21:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cakerun.cpp: In function ‘int main()’:
cakerun.cpp:70:44: error: no matching function for call to ‘std::set<std::tuple<long long int> >::lower_bound(<brace-enclosed initializer list>)’
70 | auto it = s.lower_bound({l,0,0});
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from cakerun.cpp:4:
/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::tuple<long long int>; _Compare = std::less<std::tuple<long long int> >; _Alloc = std::allocator<std::tuple<long long int> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<std::tuple<long long int> >; std::set<_Key, _Compare, _Alloc&g