Problem | specialgirlfriends |
---|---|
User | BoneMeBurner |
Submission Time | 2024-08-19 15:06:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
specialgirlfriends.cpp: In function ‘int main()’:
specialgirlfriends.cpp:13:36: error: invalid operands of types ‘__gnu_cxx::__promote_2<long long int, long long int, double, double>::__type’ {aka ‘double’} and ‘const long long int’ to binary ‘operator%’
13 | sum = (sum + pow(x%MOD,b)) % MOD;
| ~~~~~~~~~~~~~~~~~~~~ ^ ~~~
| | |
| | const long long int
| __gnu_cxx::__promote_2<long long int, long long int, double, double>::__type {aka double}