Problem zooqueue
User eliasxyz
Submission Time 2025-05-28 17:46:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

zooqueue.cpp: In function ‘bool isGood(std::vector<int>)’:
zooqueue.cpp:18:20: error: expected ‘,’ before ‘and’ token
18 | return [isGood(a) and isGood(b)];
| ^~~~
| ,
zooqueue.cpp:18:21: error: expected identifier before ‘and’ token
18 | return [isGood(a) and isGood(b)];
| ^~~
zooqueue.cpp: In lambda function:
zooqueue.cpp:18:35: error: expected ‘{’ before ‘;’ token
18 | return [isGood(a) and isGood(b)];
| ^
zooqueue.cpp: In function ‘bool isGood(std::vector<int>)’:
zooqueue.cpp:18:35: error: cannot convert ‘isGood(std::vector<int>)::<lambda()>’ to ‘bool’ in return