Problem | foodchain |
---|---|
User | lykieutrang |
Submission Time | 2025-04-29 16:54:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:11: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
6 | A = A % (10e9 + 9);
| ~ ^ ~~~~~~~~~~
| | |
| | double
| long long int
foodchain.cpp:7:11: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
7 | B = B % (10e9 + 9);
| ~ ^ ~~~~~~~~~~
| | |
| | double
| long long int
foodchain.cpp:8:11: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
8 | C = C % (10e9 + 9);
| ~ ^ ~~~~~~~~~~
| | |
| | double
| long long int
foodchain.cpp:9:11: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
9 | D = D % (