Problem | foodchain |
---|---|
User | ybc |
Submission Time | 2023-11-08 14:49:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:7:3: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
7 | A%=pow(10,9)+9;
| ~^~~~~~~~~~~~~
foodchain.cpp:7:15: error: in evaluation of ‘operator%=(long long int, __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double})’
7 | A%=pow(10,9)+9;
| ^