Problem | ccs |
---|---|
User | Jellio |
Submission Time | 2025-02-05 15:48:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:7:5: error: ‘set’ was not declared in this scope
7 | set<int> sleep;
| ^~~
ccs.cpp:2:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
1 | #include <iostream>
+++ |+#include <set>
2 | using namespace std;
ccs.cpp:7:9: error: expected primary-expression before ‘int’
7 | set<int> sleep;
| ^~~
ccs.cpp:14:25: error: ‘sleep’ was not declared in this scope
14 | auto next = sleep.lower_bound(b);
| ^~~~~
ccs.cpp:22:13: error: ‘sleep’ was not declared in this scope
22 | sleep.insert(b);
| ^~~~~
ccs.cpp:25:13: error: ‘sleep’ was not declared in this scope
25 | sleep.erase(b);
| ^~~~~