Problem | foodchain |
---|---|
User | Red123 |
Submission Time | 2025-03-16 22:11:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:9:15: error: invalid types ‘double [5][double]’ for array subscript
9 | cin >> arr[i];
| ^
foodchain.cpp:12:13: error: invalid types ‘double [5][double]’ for array subscript
12 | b *= arr[i];
| ^
foodchain.cpp:14:12: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
14 | cout << b % (1e9 + 9);
| ~ ^ ~~~~~~~~~
| | |
| double double