You are reading a single comment by @Greenbank and its replies. Click here to read the full conversation.
  • See a couple of people have got day 22p2. Took a while to get back to mine but seem to have got there in the end with a very suboptimal algorithm.

    Definitely a little bit of wee came out first time I saw a matching answer for the example input:-

    ...
    LOOP got 0 (nos now 2043 done=2336)
    part2: 2758514936282235
    

    Horrible code, way too messy, hacks everywhere. Takes ages even on the example input. Will bash my head against it again tomorrow, sort it out and clean it up.

About

Avatar for Greenbank @Greenbank started