Problem pigeons
User G
Submission Time 2025-02-19 18:58:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeons.cpp:9:9: error: missing terminating " character
9 | if(s=="LAND)x++;
| ^~~~~~~~~~
pigeons.cpp: In function ‘int main()’:
pigeons.cpp:10:3: error: expected primary-expression before ‘if’
10 | if(s=="LEAVE")x--;
| ^~
pigeons.cpp:11:3: error: expected primary-expression before ‘if’
11 | if(s=="EVACUATE")x=0;
| ^~
pigeons.cpp:10:21: error: expected ‘)’ before ‘if’
10 | if(s=="LEAVE")x--;
| ^
| )
11 | if(s=="EVACUATE")x=0;
| ~~
pigeons.cpp:9:5: note: to match this ‘(’
9 | if(s=="LAND)x++;
| ^