#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //#include #define rep(i,n) for(int i=0;i<(n);i++) #define all(x) x.begin(), x.end() #define rall(x) x.rbegin(), x.rend() #define sz(x) ((int)(x).size()) #define pb push_back using ll = long long; using namespace std; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> k; long double ans = 0; for(ll i=1;i<(1<<30);i++){ ans += (long double)1.0/(i*(i+k)); end = chrono::system_clock::now(); double ela = chrono::duration_cast (end-start).count(); if(ela>1000) break; } cout << fixed << setprecision(20) << ans << endl; return 0; }