The same birthday by eiyuu

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

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

download

return to the top page