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

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:10:12: error: expected unqualified-id before numeric constant
10 | for (int 0 = 1; j < B; j++){
| ^
exponentiate.cpp:10:11: error: expected ‘;’ before numeric constant
10 | for (int 0 = 1; j < B; j++){
| ^~
| ;
exponentiate.cpp:10:16: error: lvalue required as left operand of assignment
10 | for (int 0 = 1; j < B; j++){
| ^
exponentiate.cpp:10:19: error: ‘j’ was not declared in this scope
10 | for (int 0 = 1; j < B; j++){
| ^
exponentiate.cpp:10:24: error: expected ‘)’ before ‘;’ token
10 | for (int 0 = 1; j < B; j++){
| ~ ^
| )
exponentiate.cpp:10:26: error: ‘j’ was not declared in this scope
10 | for (int 0 = 1; j < B; j++){
| ^