#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[]) { int n,k; cin >> n>>k; double ans = 0; double t = (n + 1) * k; rep(i, n+1) { ans += (i / t)*k; } cout << fixed << setprecision(5) <