static bool oneIn(int n) { ret random(n) == 0; } static bool oneIn(int n, Random random) { ret random(random, n) == 0; }