Problem exponentiate
User god
Submission Time 2025-06-23 10:11:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:3:13: error: expected ‘(’ before ‘long’
3 | #define int long long
| ^~~~
exponentiate.cpp:11:7: note: in expansion of macro ‘int’
11 | for int(j=0; j<b;j++){
| ^~~
exponentiate.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
exponentiate.cpp:11:7: note: in expansion of macro ‘int’
11 | for int(j=0; j<b;j++){
| ^~~
exponentiate.cpp:11:16: error: ‘j’ was not declared in this scope
11 | for int(j=0; j<b;j++){
| ^