#include<bits/stdc++.h> using namespace std; #define eps 1e-8 double f(double x) { return 2018 * pow(x , 4) + 5 * pow(x , 3) + 5 * pow(x , 2) + 21 * x + 14; } int main() { int T; cin>>T; while(T--){ ...