Problem exponentiate
User xiaoqiwang04
Submission Time 2023-05-28 23:56:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int exp(int, int)’:
exponentiate.cpp:25:30: error: ‘m’ was not declared in this scope
25 | int half = exp(a, b/2) % m;
| ^