Problem exponentiate
User mew1323
Submission Time 2025-09-20 20:46:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:18:23: error: too few arguments to function ‘long long int qexp(long long int, long long int, long long int)’
18 | res = ((qexp(B,E)) % mod);
| ^
exponentiate.cpp:3:11: note: declared here
3 | long long qexp(long long B, long long E, long long M){
| ^~~~