Problem | motest2 |
---|---|
User | Um |
Submission Time | 2024-02-02 20:06:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
motest2.cpp: In function ‘long long int solve_testcase(int, int, int, int, int)’:
motest2.cpp:14:106: error: invalid operands of types ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} and ‘const int’ to binary ‘operator%’
14 | total_sum = (total_sum + (w * pow(a, 3) + x * pow(b, 3) + y * pow(c, 3) + z * a * b * c) % MOD) % MOD;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
| | |
| | const int
| __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}