• Ptsf@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Are you sure? From what I can tell there’s a 5 in 6 chance of catastrophic failure.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      14
      ·
      3 days ago

      First of all, 1 in n. Second, 0…6 has amount 7 (len(0, 1, 2, 3, 4, 5, 6) == 7), so therefore 1/7.

      Also,

      • Ptsf@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        3 days ago

        Fair, I was trying to be cheeky and here you are shutting me up with a compiler level “nope”. Take your +1.