Problem exponentiate
User blob
Submission Time 2023-12-23 13:25:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:14:22: error: ‘n’ was not declared in this scope
14 | for (int i = 0; i < n; i++){
| ^
exponentiate.cpp:15:17: error: too few arguments to function ‘int expo(int, int)’
15 | cout << expo(i);
| ^
exponentiate.cpp:3:5: note: declared here
3 | int expo(int a, int b){
| ^~~~