| Problem | exponentiate |
|---|---|
| User | DuckOverlord |
| Submission Time | 2026-04-24 15:06:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:21:30: error: invalid operands of types ‘double’ and ‘d’ {aka ‘double’} to binary ‘operator%’
21 | answers[i] = pow(A,B)%M;
| ~~~~~~~~^~
| | |
| | d {aka double}
| double