Problem | pigeons |
---|---|
User | StormyGood |
Submission Time | 2024-01-12 15:22:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeons.cpp: In function ‘int main()’:
pigeons.cpp:6:7: error: expected unqualified-id before ‘=’ token
6 | bool = true;
| ^
pigeons.cpp:10:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
10 | if (cr == "LAND"){
| ^~~~~~
pigeons.cpp:13:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | else if (cr == "LEAVE"){
| ^~~~~~~
pigeons.cpp:21:9: error: expected unqualified-id before ‘=’ token
21 | bool = false;
| ^
pigeons.cpp:25:10: error: expected unqualified-id before ‘)’ token
25 | if (bool)
| ^