链接 题目看上去挺吓人的,尤其是这个F(x),乍一看F(x)是一个相当复杂的函数, 但实际上我们拿笔画一下会发现这个函数是一个先减后增的函数,类似于一个大的凹二次函数 那么这题就好些多了 #include<bits/stdc++.h> using namespace std; double f(double a[], double x) { double res = 0; for (int i = 0;i <3;i++) { res = res * x + a[i]; } return res; } struct coefficient { double a[3]; }; d...