News for hackers. Stuff that matters.
Re:Who Wants to Be a Thousandaire? (2011) by abecedarius on Wednesday May 08, 2024 @11:21AM (#40299101)
Looking at a dollar bill, I guess the serial-number space is 8 digits plus 2 letters. So naively the chance of any hit with 10^5 bills is 1 in 676000, yeah. (But maybe the serials were smaller then?)

Re the lookup problem, you could initially "hash" all the bills by say the two leading figures, in your first pass.

It's all way stupider than the game-show hack.

Re:Who Wants to Be a Thousandaire? (2011) by abecedarius on Wednesday May 08, 2024 @01:38PM (#40300864)
Other comments take the letters to not count, which would make the chance 1/1000 per trial -- not so ridiculous.