Problem burgers
User Tyx2019
Submission Time 2023-04-21 15:02:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘bool works(long long int)’:
burgers.cpp:17:14: error: ‘x’ was not declared in this scope
17 | if(a%b==0) x=((X[i]-B[i]*num)/(A[i]-B[i]));
| ^
burgers.cpp:18:8: error: ‘x’ was not declared in this scope
18 | else x=((X[i]-B[i]*num)/(A[i]-B[i]))+1;
| ^
burgers.cpp:21:30: error: ‘x’ was not declared in this scope
21 | else morethan=max(morethan,x);
| ^