The same birthday by 0mg

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

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

download

return to the top page