Problem | ccs |
---|---|
User | itmustbepeanutbutter |
Submission Time | 2025-02-05 15:40:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin>>N>>Q;
| ^~~
ccs.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
ccs.cpp:6:2: error: ‘set’ was not declared in this scope
6 | set<int>sleep;
| ^~~
ccs.cpp:1:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
+++ |+#include <set>
1 | using namespace std;
ccs.cpp:6:6: error: expected primary-expression before ‘int’
6 | set<int>sleep;
| ^~~
ccs.cpp:9:3: error: ‘string’ was not declared in this scope
9 | string action;
| ^~~~~~
ccs.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string&g