Problem | foodchain |
---|---|
User | fanqie |
Submission Time | 2023-11-16 09:30:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:8:20: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
8 | cout << A*B*C*D*E % (pow(10,9)+9);
| ~~~~~~~~~ ^ ~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}