Problem burgers
User yoshiokalili
Submission Time 2026-02-20 19:17:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

burgers.cpp: In function ‘int main()’:
burgers.cpp:13:31: error: ‘A’ was not declared in this scope
13 | for (int i=0;i<n;i++) cin >> A[i];
| ^
burgers.cpp:14:31: error: ‘B’ was not declared in this scope
14 | for (int i=0;i<n;i++) cin >> B[i];
| ^
burgers.cpp:25:7: error: ‘A’ was not declared in this scope
25 | if(A[i] == B[i]){
| ^
burgers.cpp:25:15: error: ‘B’ was not declared in this scope
25 | if(A[i] == B[i]){
| ^
burgers.cpp:26:19: error: ‘X’ was not declared in this scope
26 | if(A[i]*mid > X[i]) yes = false;
| ^
burgers.cpp:29:19: error: ‘X’ was not declared in this scope
29 | if(A[i]*mid > X[i]) yes = false;
| ^
burgers.cpp:30:20: error: ‘X’ was not declared in this scope
30 | if(B[i]*mid <= X[i]) con