Problem | exponentiate |
---|---|
User | zsinfo2010 |
Submission Time | 2025-07-18 13:50:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:12:28: error: invalid operands of types ‘double’ and ‘long double’ to binary ‘operator%’
12 | double result = pow(a,b) % m;
| ~~~~~~~~ ^ ~
| | |
| double long double