摘要:
View Code 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<algorithm> 5 #define EPS 1e-4 6 #define MAXN 50004 7 using namespace std; 8 double x[MAXN],w[MAXN]; 9 10 inline double get_f1(double xx, int start, int n)11 {12 double sum(0);13 for (int i(start); 阅读全文