Problem exponentiate
User sussygoose
Submission Time 2024-11-07 13:53:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:3:23: error: declaration does not declare anything [-fpermissive]
3 | #define int long long int;
| ^~~
exponentiate.cpp:4:1: note: in expansion of macro ‘int’
4 | int T, e, x, m;
| ^~~
exponentiate.cpp:4:5: error: ‘T’ does not name a type
4 | int T, e, x, m;
| ^
exponentiate.cpp:3:23: error: declaration does not declare anything [-fpermissive]
3 | #define int long long int;
| ^~~
exponentiate.cpp:6:1: note: in expansion of macro ‘int’
6 | int oper(int e,int x) {
| ^~~
exponentiate.cpp:3:26: error: expected ‘)’ before ‘;’ token
3 | #define int long long int;
| ^
exponentiate.cpp:6:10: note: in expansion of macro ‘int’
6 | int oper(int e,int x) {
| ^~~
exponentiate.cpp:6:9: note: to match this ‘(’
6 | int oper(int e,int x) {
| ^
expo