Problem | foodchain |
---|---|
User | Ys |
Submission Time | 2022-12-24 16:23:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:14:34: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
14 | product= (arr[i]*product)%(1e10+9);
| ~~~~~~~~~~~~~~~~^~~~~~~~~
| | |
| long long int double
foodchain.cpp:16:18: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
16 | cout<<product%(1e10+9);
| ~~~~~~~^~~~~~~~~
| | |
| | double
| long long int