Problem | ccs |
---|---|
User | silvspider |
Submission Time | 2024-07-06 10:21:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:13:4: error: ‘asleep_cats’ was not declared in this scope
13 | asleep_cats.erase(x);
| ^~~~~~~~~~~
ccs.cpp:16:4: error: ‘asleep_cats’ was not declared in this scope
16 | asleep_cats.insert(x);
| ^~~~~~~~~~~
ccs.cpp:18:12: error: ‘y’ was not declared in this scope
18 | cin>>x>>y;
| ^
ccs.cpp:19:8: error: ‘asleep_cats’ was not declared in this scope
19 | if(*asleep_cats.lower_bound(x)){
| ^~~~~~~~~~~
ccs.cpp:22:5: error: expected ‘}’ before ‘else’
22 | }else{
| ^~~~
ccs.cpp:19:35: note: to match this ‘{’
19 | if(*asleep_cats.lower_bound(x)){
| ^
ccs.cpp:23:9: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [5]’)
23 | cout>>"YES\n"
| ~~~~^~