Problem | foodchain |
---|---|
User | senkyte |
Submission Time | 2024-02-22 14:37:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:13: error: invalid operands of types ‘int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
8 | cout << sum%(pow(10,9) + 9);
| ~~~^~~~~~~~~~~~~~~~
| | |
| int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}