bezdna.su — the best quotes and jokes from the abyss!



[ + 40 - ]
 18.10.2012
by VIO HABRA

XXX is Hi. Interestingly, what is the probability that the random number generator (randomize, /dev/urandom) will give us a text that is completely identical to the content of all volumes of L.N. Tolstoy’s War and Peace.
Is it 2^ (the number of letters of the novel) or much more?

YYY: Each byte must match the corresponding letter. The probability of one coincidence is 1/255. The probability of coincidence of the entire text is (1/255)^n, where n is the number of characters. This is for ASCII.

zzz: This is the number of characters of the alphabet and punctuation in the degree of the number of letters of the novel. In the process of such selection you will receive a nice bonus multi-volume with the continuation of "War and Peace" and an alternative option, where Andrey Bolkonsky is killed by ninja turtles.
Source: http://bash.im
Eng

The best quotes and jokes from the bezdna