Problem exponentiate
User sussygoose
Submission Time 2024-11-07 13:53:34
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: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:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exponentiate.cpp:6:1: note: in expansion of macro ‘int’
6 | int oper(int e,int x) {
| ^~~
exponentiate.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
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) {
| ^
exponentiate.cpp:3:22: error