Day 4: Printing Department

Megathread guidelines

FAQ

  • Quant
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    That’s a great addition :D

    Running my own input I also noticed that your solution is a lot faster than mine (processing each roll individually). I’ll keep that 2D-rotation in mind for the future.

    • mykl@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Yeah, that’s one thing the gurus keep hammering home: anything you can move out of loop constructs (inc rows, partition, etc as well as the obvious do, repeat) and handle pervasively is a big win.