Problem exponentiate
User jerrielchangjiebin
Submission Time 2024-12-23 10:22:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:10:16: error: ‘y’ is not a type
10 | int cal(int x, y, z) {
| ^
exponentiate.cpp:10:19: error: ‘z’ is not a type
10 | int cal(int x, y, z) {
| ^
exponentiate.cpp: In function ‘long long int cal(long long int, int, int)’:
exponentiate.cpp:16:10: error: ‘result’ was not declared in this scope
16 | cout << result;
| ^~~~~~