组合题6 个小题
已作答 0 / 6
1#include <iostream>2#include <cmath>3using namespace std;4 5int customFunction(int a, int b) {6 if (b == 0) {7 return a;8 }9 return a + customFunction(a, b-1);10}11 12int main() {13 int x, y;14 cin >> x >> y;15 int result = customFunction(x, y);16 cout << pow(result, 2) << endl;17 return 0;18}19 当输入为 2 3 时,customFunction(2, 3) 的返回值为 64。( )