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