Problem exponentiate
User Khai
Submission Time 2024-10-09 20:18:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exponentiate.cpp:7:2: note: in expansion of macro ‘int’
7 | int t, a, b, m;
| ^~~
exponentiate.cpp:7:6: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
7 | int t, a, b, m;
| ^
| tm
exponentiate.cpp:7:9: error: ‘a’ was not declared in this scope
7 | int t, a, b, m;
| ^
exponentiate.cpp:7:12: error: ‘b’ was not declared in this scope
7 | int t, a, b, m;
| ^
exponentiate.cpp:7:15: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | int t, a, b, m;
| ^
| tm
exponentiate.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
|