Problem | exponentiate |
---|---|
User | idk |
Submission Time | 2023-02-07 23:33:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int expo()’:
exponentiate.cpp:10:21: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
10 | int result = AB % M;
| ~~ ^ ~
| | |
| | int
| double