Problem pigeons
User supercel980
Submission Time 2026-01-30 16:03:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeons.cpp: In function ‘int main()’:
pigeons.cpp:13:6: error: expected ‘(’ before ‘d’
13 | if d == "LAND"{
| ^
| (
pigeons.cpp:16:3: error: ‘else’ without a previous ‘if’
16 | else if d == "LEAVE"{
| ^~~~
pigeons.cpp:16:11: error: expected ‘(’ before ‘d’
16 | else if d == "LEAVE"{
| ^
| (
pigeons.cpp:19:3: error: ‘else’ without a previous ‘if’
19 | else if d == "EVACUATE"{
| ^~~~
pigeons.cpp:19:11: error: expected ‘(’ before ‘d’
19 | else if d == "EVACUATE"{
| ^
| (
pigeons.cpp:22:6: error: expected ‘(’ before ‘c’
22 | if c > a{
| ^
| (
pigeons.cpp:26:5: error: expected ‘(’ before ‘e’
26 | if e = 1{
| ^
| (
pigeons.cpp:29:2: error: ‘else’ without a previous ‘if’
29 | else{
| ^~~~