Problem exponentiate
User Kannan
Submission Time 2023-12-20 14:50:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:16:19: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
16 | exp[i] = result % z;
| ~~~~~~ ^ ~
| | |
| int double