Problem exponentiate_ex
User Kiameimon
Submission Time 2024-06-03 13:53:40
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:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | ans += (e & 1)*ans*(b-1);
| ^~~
| abs