Problem exponentiate
User neogaoen2007
Submission Time 2023-12-20 15:26:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exponentiate.cpp:5:1: note: in expansion of macro ‘int’
5 | int expo(int a, int b){
| ^~~
exponentiate.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
exponentiate.cpp:5:10: note: in expansion of macro ‘int’
5 | int expo(int a, int b){
| ^~~
exponentiate.cpp:5:9: note: to match this ‘(’
5 | int expo(int a, int b){
| ^
exponentiate.cpp:3:22: error: expected constructor, destructor, or type conversion before ‘;’ token
3 | #define int long long;
| ^
exponentiate.cpp:5:10: note: in expansion of macro ‘int’
5 | int expo(int a, int b){
| ^~~
exponentiate.cpp:5:14: error: ‘a’ does not name a type
5 | int expo(int a, int b){