#include #define REP(i,n) for(int i=0,i##_len=(n);i>a>>b; assert(-10<=a&&a<=10); assert(-10<=b&&b<=10); double ans=0; const double dx=double(b-a)/(double)N; for(int k=0;k