Problem | foodchain |
---|---|
User | braven |
Submission Time | 2025-04-29 16:55:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:19:15: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
19 | cout << (a%((10e9)+9))*(b%((10e9)+9))*(c%((10e9)+9))*(d%((10e9)+9))*(e%((10e9)+9))
| ~^~~~~~~~~~~
| | |
| int double
foodchain.cpp:19:30: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
19 | cout << (a%((10e9)+9))*(b%((10e9)+9))*(c%((10e9)+9))*(d%((10e9)+9))*(e%((10e9)+9))
| ~^~~~~~~~~~~
| | |
| int double
foodchain.cpp:19:45: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
19 | cout << (a%((10e9)+9))*(b%((10e9)+9))*(c%((10e9)+9))*(d%((10e9)+9))*(e%((10e9)+9))
| ~^~~~~~~~~~~
|