#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define REP(i,s,n) for(int i=(int)(s);i<(int)(n);i++) using namespace std; typedef long long int ll; typedef vector VI; typedef pair PI; const double EPS=1e-9; const int LIM = 10000; int main(void){ ll n, l, r; cin >> n >> l >> r; if (n < LIM) { assert(0); } else { double lb = (l - 1.0 - 3.5 * n) / sqrt(35.0 / 6.0 * n); double rb = (r - 3.5 * n) / sqrt(35.0 / 6.0 * n); double res = 0.5 * (erf(rb) - erf(lb)); printf("%.15f\n", res); } }