The same birthday by nn

double v;main(n){for(;printf("n=%d, p=%.8f\n",++n,v+=(1-v)*n/365)%5;);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page