Problem | foodchain |
---|---|
User | Ys |
Submission Time | 2022-12-24 14:10:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:11:19: error: invalid types ‘long long int[long long int]’ for array subscript
11 | cin>>arr[i];
| ^
foodchain.cpp:14:23: error: invalid types ‘long long int[long long int]’ for array subscript
14 | product= arr[i]*arr[i+1];
| ^
foodchain.cpp:14:32: error: invalid types ‘long long int[long long int]’ for array subscript
14 | product= arr[i]*arr[i+1];
| ^