The same birthday by nn

v=1;1.upto(99){v*=1-it++/365;printf"n=$it, p=%.8f\n",1-v}

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

download

return to the top page