摘要:
#include#include#include#includeusing namespace std;double f[20];int n;double deal(double mid){ double sum=0; for(int i=0;i0&&n) { for(int i=0;i1e-6) { mid=(left+right)/2; if(deal(mid)>=0) left=mid; else right=mid; } printf("%.2lf\n",left-1.0); } return 0;} 阅读全文