Problem exponentiate
User FreedomhawksBANANAA
Submission Time 2023-03-24 20:22:13
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 power(int a, int b, int m) {
| ^~~
exponentiate.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
exponentiate.cpp:4:11: note: in expansion of macro ‘int’
4 | int power(int a, int b, int m) {
| ^~~
exponentiate.cpp:4:10: note: to match this ‘(’
4 | int power(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:4:11: note: in expansion of macro ‘int’
4 | int power(int a, int b, int m) {
| ^~~
exponentiate.cpp:4:15: error: ‘a’ does not name a typ