r/adventofcode • • Dec 17 '20

SOLUTION MEGATHREAD -🎄- 2020 Day 17 Solutions -🎄-

Advent of Code 2020: Gettin' Crafty With It

  • 5 days remaining until the submission deadline on December 22 at 23:59 EST
  • Full details and rules are in the Submissions Megathread

--- Day 17: Conway Cubes ---


Post your code solution in this megathread.

Reminder: Top-level posts in Solution Megathreads are for code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:13:16, megathread unlocked!

36 Upvotes

657 comments sorted by

View all comments

Show parent comment

2

u/Chitinid Dec 17 '20

You point class doesn't quite give all points within a particular Manhattan distance, but rather all points within a particular Manhattan distance for which no coordinate differs by more than 1. As it so happens, that's more useful for this problem

1

u/hugh_tc Dec 17 '20 edited Dec 17 '20

Yes, you are correct, thank you. I knew how it worked in my head but couldn't quite figure out how to get it into words... :) edited the original post to clarify.