Problem exponentiate
User Bulbasheen
Submission Time 2024-02-03 13:24:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:10:10: error: expected ‘;’ before ‘for’
10 | ord = 0
| ^
| ;
11 | for (int j = 0; j < B; j++){
| ~~~
exponentiate.cpp:11:19: error: ‘j’ was not declared in this scope
11 | for (int j = 0; j < B; j++){
| ^
exponentiate.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
exponentiate.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^