Problem | foodchain |
---|---|
User | andthatsallshewrote |
Submission Time | 2023-11-08 11:16:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:7:31: error: invalid operands of types ‘long long unsigned int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
7 | result = (a * b * c * d * e) % (pow(10, 9) + 9);
| ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
| | |
| | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
| long long unsigned int