Problem | card |
---|---|
User | Ningja |
Submission Time | 2023-11-09 23:38:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:15:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | while (input != ".") {
| ^~~
card.cpp:17:15: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
17 | if (input = "A" ) {
| ^~~
| |
| const char*
card.cpp:18:17: error: void value not ignored as it ought to be
18 | a=d.pop_front();
| ~~~~~~~~~~~^~
card.cpp:19:18: error: expected ‘;’ before ‘}’ token
19 | d.push_back(a)
| ^
| ;
20 | }
| ~
card.cpp:21:20: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
21 | else if (input = "B" ) {
| ^~~
| |
| const char*
card.cpp:22:19: error: no matc