Problem exponentiate
User kahchun
Submission Time 2023-11-04 16:08:37
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 fastExpo(int a, int b, int m){
| ^~~
exponentiate.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
exponentiate.cpp:5:14: note: in expansion of macro ‘int’
5 | int fastExpo(int a, int b, int m){
| ^~~
exponentiate.cpp:5:13: note: to match this ‘(’
5 | int fastExpo(int a, int b, int m){
| ^
exponentiate.cpp:3:22: error: expected constructor, destructor, or type conversion before ‘;’ token
3 | #define int long long;
| ^
exponentiate.cpp:5:14: note: in expansion of macro ‘int’
5 | int fastExpo(int a, int b, int m){
| ^~~
exponentiate.cpp:5:18: error: ‘a’ do