r/adventofcode • • Dec 11 '20

SOLUTION MEGATHREAD -🎄- 2020 Day 11 Solutions -🎄-

Advent of Code 2020: Gettin' Crafty With It

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

--- Day 11: Seating System ---


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:14:06, megathread unlocked!

50 Upvotes

702 comments sorted by

View all comments

Show parent comment

1

u/Xavdidtheshadow Dec 12 '20

Out of curiosity, how long does your code take to execute on your project input? Mine is structured about the same as yours (uses some different python features, but is otherwise a very similar solution) and takes 10 seconds on part 1.

1

u/sophiebits Dec 12 '20

Just over 4 seconds for part 1 on my laptop and input.