Problem foodchain
User MS
Submission Time 2024-04-05 21:13:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:19: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
6 | cout<<(a*b*c*d*e)%(pow(10,9)+9);
| ~~~~~~~~~~~^~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}