Problem | burgers |
---|---|
User | zyh571 |
Submission Time | 2023-02-24 16:47:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
burgers.cpp: In function ‘int main()’:
burgers.cpp:8:32: error: invalid types ‘long double [100005][long double]’ for array subscript
8 | for(int i=0;i<n;i++)cin>>arr[i];
| ^
burgers.cpp:9:30: error: invalid types ‘long double [100005][long double]’ for array subscript
9 | for(int i=0;i<n;i++)cin>>a[i];
| ^
burgers.cpp:10:30: error: invalid types ‘long double [100005][long double]’ for array subscript
10 | for(int i=0;i<n;i++)cin>>b[i];
| ^
burgers.cpp:11:44: error: invalid types ‘long double [100005][long double]’ for array subscript
11 | for(int i=0;i<n;i++)hehe = min(hehe, arr[i]/a[i]);
| ^
burgers.cpp:11:49: error: invalid types ‘long double [100005][long double]’ for array subscript
11 | for(int i=0;i<n;i++)hehe = min(hehe, arr[i]/a