Problem | ccs |
---|---|
User | 583116UB |
Submission Time | 2024-07-06 10:17:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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
| ~~~~~~~~~~~~^~~~~~~~~~~
ccs.cpp:22:17: error: expected ‘;’ before ‘}’ token
22 | cout<<"NO\n"
| ^
| ;
23 | }else{
| ~
ccs.cpp:28:10: error: expected ‘}’ at end of input
28 | return 0;
| ^
ccs.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^