#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; unsigned xor128(){ static unsigned x=123456789,y=362436069,z=521288629,w=88675123; unsigned t; t=(x^(x<<11));x=y;y=z;z=w; return( w=(w^(w>>19))^(t^(t>>8)) ); } int main() { int n, k; cin >> n >> k; const int T = 1000000; int win = 0; for(int i=0; i b) ++ win; } double ret = win / (double) T; cout.setf(ios_base::fixed, ios_base::floatfield); cout << setprecision(10) << ret << endl; return 0; }