以下程序输出结果为int compute(int n){if(n==1)return 1;return compute(n-1)+n*n;}int main(){printf("%d\n",compute(3));} 程序 输出 发布时间:2024-05-10 10:00:53