Problem | pigeons |
---|---|
User | matt |
Submission Time | 2024-01-12 19:20:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeons.cpp: In function ‘int32_t main()’:
pigeons.cpp:12:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if (p[i] == "LAND") {
| ^~~~~~
pigeons.cpp:14:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | } else if (p[i] == "LEAVE") {
| ^~~~~~~
pigeons.cpp:17:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | } else if (p[i] == "EVACUATE") {
| ^~~~~~~~~~