Problem exponentiate
User Kiameimon
Submission Time 2024-06-03 13:49:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘ll modex(ll, ll, ll)’:
exponentiate.cpp:8:17: error: expected ‘;’ before ‘ans’
8 | ans += (e & 1)ans*(b-1) % m;
| ^~~
| ;