#include #define rep(i,n) for(int i = 0;i < (int)n;i++) #define repb(i,n) for(int i = (int)n;i >= 0;i--) #define reps(i,m,n) for(int i = (int)m;i < (int)n;i++) #define repsb(i,m,n) for(int i = (int)m;i >= (int)n;i--) #define SORT(v,n) sort(v,v+n); #define VSORT(v) sort(v.begin(), v.end()); #define pb(a) push_back(a) #define INF 999999999999999999 #define ll long long int int dy[]={0, 0, 1, -1, 0}; int dx[]={1, -1, 0, 0, 0}; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> vec(n_rows, vector(n_cols, value)); using namespace std; int main(int argc, char const *argv[]) { double a, b,n,i; cin >>a>>b; i = a; n = 10000; double ans = 0; while(i < b) { ans += abs((i - a) * (i - b) )/ n; i+=1/n; } cout << ans<