GitXplorerGitXplorer
d

advent-2021

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
33ec414f6ca641b3ba72aac64f01bcc0af2737d9

Avoid panicking when input number is too small

ddimo414 committed 2 years ago
Unverified
561d4910cc0758e08220b576fb7fb1762f8775cf

Refresh input files; trailing newlines had been removed from some

ddimo414 committed 2 years ago
Unverified
2fdfd93927982b88460c2ff401a4a3ff69ba3117

Fix clippy finding https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg

ddimo414 committed 2 years ago
Unverified
41094c3d8e7b94214b523999d839cab08fe49a77

Update README

ddimo414 committed 2 years ago
Unverified
b5be7d98709faebe893b77628f1f4145b9e93b3b

Reduce the search space returned by neighbors() by disregarding paths to the hallway when there are any valid paths to a home room. Inspired by https://old.reddit.com/r/adventofcode/comments/s0gxxx/2021_day_23_part_12_is_this_strategy_feasible_for/.

ddimo414 committed 3 years ago
Unverified
6fa9251d3a8fde40cc65399c3038a594e16305f6

Flip the order of returned edges to get a better baseline for the next change.

ddimo414 committed 3 years ago

README

The README file for this repository.

Solutions for Advent of Code 2021

Visualizations

Day 11

Day 14

Displays the first 10 iterations, one or two more iterations starts to overflow the terminal.

Day 15

Day 20

Render the "image" using Braille characters as dense "pixels":

It can also play Conway's Game of Life:

Day 22

Rendered in OpenSCAD:

And turned into a Christmas ornament!

Day 23

Day 25

Timings

See the "Timing" step in the CI action for some basic benchmarks.