收起
cf函数是错的,修改如下:
double cf(double x,int i) { double s = 1; for(int j=1;j<=i;j++) s*=x; return s; }
报告相同问题?