Problem exponentiate
User PlayVoltz
Submission Time 2023-03-19 21:10:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:10:12: error: lvalue required as left operand of assignment
10 | if (b%2=1){
| ^
exponentiate.cpp:14:14: error: expected ‘;’ before ‘}’ token
14 | c=c*a*a%m
| ^
| ;
15 | }
| ~