Problem pigeons
User matt
Submission Time 2024-01-15 20:38:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeons.cpp: In function ‘int32_t main()’:
pigeons.cpp:13:10: error: expected primary-expression before ‘==’ token
13 | if (p[ == "LAND") {
| ^~
pigeons.cpp:13:19: error: expected ‘]’ before ‘)’ token
13 | if (p[ == "LAND") {
| ^
| ]
pigeons.cpp:17:17: error: expected primary-expression before ‘==’ token
17 | } else if (p[ == "EVACUATE") {
| ^~
pigeons.cpp:17:30: error: expected ‘]’ before ‘)’ token
17 | } else if (p[ == "EVACUATE") {
| ^
| ]