s=s*i;
s=s+fun(k)这题给出n=3,y=9是错误的,正确的:y=10.
题目中 int fun(int n)函数的作用就是求n!,在main函数中,求阶层并进行累加求和。所以:第一个空:s = s * i;第二个空:s = s + fun(k);
s=s*i; s=s+fun(k);