Problem exponentiate
User justin271828
Submission Time 2023-06-17 17:04:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:4:7: error: ‘x’ was not declared in this scope
4 | int e(x, y) {
| ^
exponentiate.cpp:4:10: error: ‘y’ was not declared in this scope
4 | int e(x, y) {
| ^
exponentiate.cpp:4:11: error: expression list treated as compound expression in initializer [-fpermissive]
4 | int e(x, y) {
| ^
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:19:17: error: ‘e’ cannot be used as a function
19 | cout << e(A, B)%M;
| ^