6 lines
85 B
Plaintext
6 lines
85 B
Plaintext
BEGIN { k = 3; n = 10 }
|
|
{ if (n <= 0) exit
|
|
if (rand() <= k/n) { print; k-- }
|
|
n--
|
|
}
|