Problem ccs
User xiaoqiwang04
Submission Time 2023-06-12 19:40:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘bool sleep()’:
ccs.cpp:11:23: error: ‘M’ was not declared in this scope
11 | for(ll i=0; i<M; i++){
| ^
ccs.cpp:18:25: error: ‘sleepingCats’ was not declared in this scope
18 | sleepingCats.erase(sleepingCats.lower_bound(d));
| ^~~~~~~~~~~~
ccs.cpp:25:25: error: ‘sleepingCats’ was not declared in this scope
25 | sleepingCats.insert(d);
| ^~~~~~~~~~~~
ccs.cpp:32:30: error: ‘sleepingCats’ was not declared in this scope
32 | if (*sleepingCats.lower_bound(d) <= e) return false
| ^~~~~~~~~~~~
ccs.cpp:32:76: error: expected ‘;’ before ‘else’
32 | if (*sleepingCats.lower_bound(d) <= e) return false
|