| Problem | ccs |
|---|---|
| User | chickengoat |
| Submission Time | 2026-01-11 13:04:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:15:4: error: ‘s’ was not declared in this scope
15 | s.erase(x);
| ^
ccs.cpp:20:4: error: ‘s’ was not declared in this scope
20 | s.insert(x);
| ^
ccs.cpp:26:26: error: cannot convert ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’} to ‘ll’ {aka ‘long long int’} in initialization
26 | ll g=awake.lower_bound(start);
| ~~~~~~~~~~~~~~~~~^~~~~~~
| |
| std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}
ccs.cpp:28:8: error: no match for ‘operator==’ (operand types are ‘ll’ {aka ‘long long int’} and ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’})
28 | if(g==awake.end() || *g>y) {
| ~^~~~~~~~~~~~~
| | |