candies.cpp: In function 'std::vector<int> distribute_candies(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
candies.cpp:8:10: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
8 | if(n <= 2000 & q <= 2000)
| ~~^~~~~~~
candies.cpp:31:30: error: 'val' was not declared in this scope
31 | candies[i] = min(val, c[ll]);
| ^~~
candies.cpp:31:37: error: 'll' was not declared in this scope; did you mean 'l'?
31 | candies[i] = min(val, c[ll]);
| ^~
| l