|
|
|
|
|
by fractalcat
5032 days ago
|
|
To generate a number between 0 and k: 0) remove undergarment (I'm assuming a bra because it's simplest, but the same principle applies to other varieties)
1) scratch your arm until you bleed
2) mark one cup of the bra with blood (both inside and outside)
3) stand against a wall
4) set i <- 0, n <- 0
5) throw bra up into the air, spinning it in the plane parallel to the floor
6) observe which cup is closer to the wall (if unclear, goto 5)
7) set x <- 0 if clean, 1 if bloody
8) if i >= floor(log2(k)), goto 11
9) set n <- n + (2i)*x
10) set i <- i + 1, goto 5
11) if n > k, goto 4
12) your number is n. |
|