← 查看本卷题目
组合题6 个小题
已作答 0 / 6
#include <iostream>#include <cmath>using namespace std; int customFunction(int a, int b) {    if (b == 0) {        return a;    }    return a + customFunction(a, b-1);} int main() {    int x, y;    cin >> x >> y;    int result = customFunction(x, y);    cout << pow(result, 2) << endl;    return 0;} 
第 30 题单选题原卷 3 分

当输入为 5 4 时,customFunction(5, 4) 的返回值为( )。

填写答案