Problem | exponentiate |
---|---|
User | christal |
Submission Time | 2023-12-20 14:59:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:6:6: error: expected ‘(’ before ‘int’
6 | for int expo(int a, int b){
| ^~~
| (
exponentiate.cpp:6:28: error: a function-definition is not allowed here before ‘{’ token
6 | for int expo(int a, int b){
| ^
exponentiate.cpp:6:28: error: expected ‘;’ before ‘{’ token
6 | for int expo(int a, int b){
| ^
| ;
exponentiate.cpp:6:28: error: expected primary-expression before ‘{’ token
exponentiate.cpp:6:28: error: expected ‘;’ before ‘{’ token
6 | for int expo(int a, int b){
| ^
| ;
exponentiate.cpp:6:28: error: expected primary-expression before ‘{’ token
exponentiate.cpp:6:28: error: expected ‘)’ before ‘{’ token
6 | for int expo(int a, int b){
| ~~~