#include #include #include using namespace std; #define pow2(n) (1<<(n)) double p[11][1100], s[1100]; int main() { int m; while (cin>>m) { for(int i=0;i>s[i]; p[0][i]=1; } for(int n=1;n<=m;++n) { fill(p[n], p[n]+pow2(m), 0); for(int i=0;i