The same birthday by 0mg

for(v=n=1;n<100;print("n="+n+", p="+(1-v).toFixed(8)))v*=(365-n++)/365

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

download

return to the top page