• Glaedr304@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I did the same thing! Took me a few minutes to figure out what do to with the decimal answers, before I realized on the continuous graphs they were the min and max

  • bobredfox@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Ended Up with iterating over all possible solutions and filter all possibilitys which where greater than the record. Not elegant, but sufficient fast for this purpose.

    For Part 2 I merged the values by hand in the Input data.

    Solution in Rust