Problem ccs
User 583116UB
Submission Time 2024-07-06 10:18:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:20:19: error: invalid use of member function ‘template<class _Kt> decltype ((std::set<_Key, _Compare, _Alloc>::const_iterator)(((const std::set<_Key, _Compare, _Alloc>*)this)->std::set<_Key, _Compare, _Alloc>::_M_t._M_lower_bound_tr(__x))) std::set<_Key, _Compare, _Alloc>::lower_bound(const _Kt&) const [with _Kt = _Kt; _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]’ (did you forget the ‘()’ ?)
20 | if(asleep_cats.lower_bound.(x)!=asleep_cats.end() and
| ~~~~~~~~~~~~^~~~~~~~~~~