Problem exponentiate
User highdelao
Submission Time 2023-07-20 10:06:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:15:31: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
15 | intresult = intresult % M;
| ~~~~~~~~~ ^ ~
| | |
| int double