Problem exponentiate_ex
User Kiameimon
Submission Time 2024-06-03 13:54:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp: In function ‘u64 modex(u64, u64, u64)’:
exponentiate_ex.cpp:14:33: error: too few arguments to function ‘u64 modmul(u64, u64, u64)’
14 | res += (e & 1)*modmul(res, b-1);
| ^
exponentiate_ex.cpp:7:5: note: declared here
7 | u64 modmul(u64 a, u64 b, u64 M) {
| ^~~~~~