Problem | ccs |
---|---|
User | Yizhou |
Submission Time | 2024-06-04 11:34:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:9:16: error: expected ‘;’ before ‘<’ token
9 | for (int i=0,i<n;i++){
| ^
| ;
ccs.cpp:9:16: error: expected primary-expression before ‘<’ token
ccs.cpp:14:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(a=="SLEEP"){
| ^~~~~~~
ccs.cpp:17:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | }else if(a=="WAKE"){
| ^~~~~~
ccs.cpp:20:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | }else if(a=="TRANSMIT"){
| ^~~~~~~~~~