Problem burgers
User geometric
Submission Time 2023-04-21 15:29:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘bool works(int)’:
burgers.cpp:6:16: error: ‘N’ was not declared in this scope
6 | for(int i=0;i<N;i++){
| ^
burgers.cpp:7:6: error: ‘A’ was not declared in this scope
7 | if(A[i]==B[i]){
| ^
burgers.cpp:7:12: error: ‘B’ was not declared in this scope
7 | if(A[i]==B[i]){
| ^
burgers.cpp:8:16: error: ‘X’ was not declared in this scope
8 | if(A[i]*num>X[i]) works = false;
| ^
burgers.cpp:11:9: error: ‘X’ was not declared in this scope
11 | int a=X[i]- B[i] * num;
| ^
burgers.cpp:11:15: error: ‘B’ was not declared in this scope
11 | int a=X[i]- B[i] * num;
| ^
burgers.cpp:12:11: error: ‘A’ was not declared in this scope
12 | int b = A[i] - B[i];
| ^