Problem | ccs |
---|---|
User | nothing |
Submission Time | 2023-07-24 22:28:55 |
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: ‘unsinged’ was not declared in this scope; did you mean ‘unsigned’?
7 | unsinged int N, Q;
| ^~~~~~~~
| unsigned
ccs.cpp:9:12: error: ‘N’ was not declared in this scope
9 | cin >> N;
| ^
ccs.cpp:10:9: error: ‘Q’ was not declared in this scope
10 | cin >> Q;
| ^
ccs.cpp:14:21: error: template argument 2 is invalid
14 | set<unsinged int> catSlpt;
| ^
ccs.cpp:14:21: error: template argument 3 is invalid
ccs.cpp:21:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
21 | if (cmd.length() == "SLEEP")
| ^~~~~~~
ccs.cpp:25:21: error: request for member ‘insert’ in ‘catSlpt’, which is of non-class type ‘int’
25 | catSlpt.insert(c);
| ^~~~~~
ccs.