Problem exponentiate
User trzaeta
Submission Time 2025-06-18 17:45:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘const long long int power(int, int, int)’:
exponentiate.cpp:4:29: error: too few arguments to function ‘const long long int power(int, int, int)’
4 | return (a * power(a, b-1)) % m;
| ^
exponentiate.cpp:2:17: note: declared here
2 | const long long power(const int a, const int b, const int m){
| ^~~~~