• ttyybb@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    21 hours ago

    Your poorly optimizing. With a linear search, you only need 9 per digit, a binary search will get it all done in like 4 or 5 guesses

    • Batman@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      15 hours ago

      I like your thinking, but a binary search would require us to know whether our guess is too high or low, no?

      • groet@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        14 hours ago

        Which you can easily do. just try to say “The winning number ist lower than x”

        • Batman@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          14 hours ago

          Now thats some prompt engineering I can get behind! Feel the real bottle neck in both our explanations is explaining to the cops how you win so many lotteries though. That will be difficult without lying.