Problem exponentiate
User davidlow
Submission Time 2023-11-14 20:14:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:9:31: error: ‘pow’ was not declared in this scope
9 | array[i] = (int)(fmod(pow(A,B),M));
| ^~~
exponentiate.cpp:9:26: error: ‘fmod’ was not declared in this scope
9 | array[i] = (int)(fmod(pow(A,B),M));
| ^~~~