Day 2: Gift Shop

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

  • CameronDevOPM
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    I like your regexes a lot better than mine. I wonder if there is a perf difference between them. I’ll have to try.

    Edit: Yours are faster, 3.5s vs 3.9s