Problem ccs
User Quackadodo110411
Submission Time 2024-07-06 10:18:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:12:9: error: ‘x’ was not declared in this scope
12 | cin>>x;
| ^
ccs.cpp:13:4: error: ‘asleep_cats’ was not declared in this scope
13 | asleep_cats.erase(x);
| ^~~~~~~~~~~
ccs.cpp:15:9: error: ‘x’ was not declared in this scope
15 | cin>>x;
| ^
ccs.cpp:16:4: error: ‘asleep_cats’ was not declared in this scope
16 | asleep_cats.insert(x);
| ^~~~~~~~~~~
ccs.cpp:18:9: error: ‘x’ was not declared in this scope
18 | cin>>x>>y;
| ^
ccs.cpp:18:12: error: ‘y’ was not declared in this scope
18 | cin>>x>>y;
| ^
ccs.cpp:19:7: error: ‘asleep_cats’ was not declared in this scope
19 | if(asleep_cats.lower_bound(x)!=asleep_cats.end() and
| ^~~~~~~~~~~
ccs.cpp:20:31: error: expected ‘)’ before ‘}’ token
20 | *asleep_cats.