Problem ccs
User LXY
Submission Time 2026-04-25 13:54:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:8:13: error: ‘eeping’ was not declared in this scope
8 | set<int> s;eeping cats;
| ^~~~~~
ccs.cpp:15:14: error: ‘sleeping’ was not declared in this scope
15 | auto it = sleeping cats.;ower_bounds(x);
| ^~~~~~~~
ccs.cpp:15:29: error: ‘ower_bounds’ was not declared in this scope
15 | auto it = sleeping cats.;ower_bounds(x);
| ^~~~~~~~~~~
ccs.cpp:16:13: error: ‘sleepingcats’ was not declared in this scope
16 | if(it == sleepingcats.end() or *it > y) {
| ^~~~~~~~~~~~
ccs.cpp:22:4: error: expected ‘}’ before ‘else’
22 | else if(ins == "SLEEP") {
| ^~~~
ccs.cpp:12:22: note: to match this ‘{’
12 | if(ins=="TRANSMIT"){
| ^
ccs.cpp:25:5: error: ‘sleepingcats’ was not declared in this scope
25 | sleepingcats.insert(x);