Problem | burgers |
---|---|
User | Ctjh |
Submission Time | 2024-02-07 17:01:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
burgers.cpp: In function ‘int main()’:
burgers.cpp:40:19: error: expected ‘;’ before ‘int’
40 | limiting_b = 0
| ^
| ;
41 | int limit_a, limit_b, current_limit_a, current_limit_b;
| ~~~
burgers.cpp:43:9: error: ‘limit_a’ was not declared in this scope; did you mean ‘limiting_a’?
43 | limit_a = ingredients[i]/recipe_a[i];
| ^~~~~~~
| limiting_a
burgers.cpp:44:9: error: ‘limit_b’ was not declared in this scope; did you mean ‘limiting_b’?
44 | limit_b = ingredients[i]/recipe_b[i];
| ^~~~~~~
| limiting_b
burgers.cpp:45:22: error: ‘current_limit_a’ was not declared in this scope
45 | if(limit_a < current_limit_a){
| ^~~~~~~~~~~~~~~
burgers.cpp:49:22: error: ‘current_limit_b’ was not declared in this scope
49 | if(limit_b <