Problem pigeons
User ATHY
Submission Time 2024-06-21 07:33:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeons.cpp: In function ‘int main()’:
pigeons.cpp:13:3: error: expected ‘}’ before ‘else’
13 | else if (s=="LEAVE") {
| ^~~~
pigeons.cpp:11:30: note: to match this ‘{’
11 | if (counter > N) {
| ^
pigeons.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
pigeons.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^