Problem foodchain
User tdb60
Submission Time 2023-11-08 11:17:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:5:2: error: ‘n’ was not declared in this scope
5 | n = a*b*c*d*e % (1e9 + 9);
| ^
foodchain.cpp:5:16: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
5 | n = a*b*c*d*e % (1e9 + 9);
| ~~~~~~~~~ ^ ~~~~~~~~~
| | |
| | double
| long long int