Problem foodchain
User itchydeez
Submission Time 2023-11-08 13:22:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:5: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
8 | G=A%1e9;
| ~^~~~
| | |
| | double
| long long int
foodchain.cpp:9:5: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
9 | H=B%1e9;
| ~^~~~
| | |
| | double
| long long int
foodchain.cpp:10:5: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
10 | J=C%1e9;
| ~^~~~
| | |
| | double
| long long int
foodchain.cpp:11:5: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
11 | I=D%1e9;
| ~^~~~
| | |
| | double
| long long int
foodchain.cpp:12:5: error: invalid operands of types ‘long long int’ and ‘double’ to binar