The same birthday by teebee

enum B{B;{for(double n=1,p=1;n<100;System.out.printf("n=%.0f, p=%.8f\n",n,1-p))p*=1-n++/365;}}

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

download

return to the top page