#include #include using namespace std; int f,n,k; double solve(int a,int b){ double F = f,I = a,N = n,ret; ret = pow((F - I)/F,b)*pow(I/F,n - b); for(int j=0;j> f >> n >> k; double ans = 0; for(i=0;i