simplify part 2: use depths difference instead of two parent lists

This commit is contained in:
2022-09-29 20:08:50 +02:00
parent e83b690822
commit 8ed39e52b7
2 changed files with 33 additions and 48 deletions

View File

@@ -76,9 +76,9 @@ aoc-c : res=14195011
compiling aoc-c.c
aoc-c : res=453028
time: 0:00.00 real, 0.00 user, 0.00 sys
context-switch: 0+1, page-faults: 0+429
context-switch: 0+1, page-faults: 0+417
+++++++++++++++++ part 2
aoc-c : res=562
time: 0:00.00 real, 0.00 user, 0.00 sys
context-switch: 0+1, page-faults: 0+436
context-switch: 0+1, page-faults: 0+417