Problem | foodchain |
---|---|
User | R1 |
Submission Time | 2023-03-06 17:10:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:9:21: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
9 | cout << a*b*c*d*e % (pow(10,9) + 9)
| ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}