#includedouble f(int n){ if (n==1) return 1.0; return ((n%2)?1:-1)*1.0/n+f(n-1);}int main(){ printf("%f\n",f(200)); return 0;}
0.690653请按任意键继续. . .