day23: final version (could add priority queue to improve further ?)

This commit is contained in:
2022-09-14 20:02:54 +02:00
parent ebb8a0d738
commit 79428d6192
3 changed files with 208 additions and 638 deletions

View File

@@ -278,6 +278,18 @@ aoc-c : res=1162571910364852
time: 0:00.19 real, 0.18 user, 0.00 sys
context-switch: 17+1, page-faults: 0+973
=========================================
================= day23 =================
=========================================
aoc-c : res=11120
time: 0:00.16 real, 0.14 user, 0.01 sys
context-switch: 34+1, page-faults: 0+4593
aoc-c : res=49232
time: 0:00.09 real, 0.08 user, 0.00 sys
context-switch: 3+1, page-faults: 0+3454
=========================================
================= day24 =================
=========================================

View File

@@ -325,3 +325,7 @@ In this updated example, the least energy required to organize these amphipods i
#########
Using the initial configuration from the full diagram, what is the least energy required to organize the amphipods?
Your puzzle answer was 49232.
Both parts of this puzzle are complete! They provide two gold stars: **

File diff suppressed because it is too large Load Diff