#include #define repi(i,a,b) for(int i=(a);i<(b);++i) #define rep(i,a) repi(i,0,a) int M; double S[1024], dp[11][1024]; double calc( int a, int b ) { return S[a]*S[a]/(S[a]*S[a]+S[b]*S[b]); } int main() { scanf( "%d", &M ); rep( i, 1<>1; repi( k, j