Skip to content

Commit 6b9a48a

Browse files
committed
day 7
1 parent 61fabb8 commit 6b9a48a

File tree

6 files changed

+692
-0
lines changed

6 files changed

+692
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ Part Two: 597
2626
--- Day 6: Custom Customs ---
2727
Part One: 6799
2828
Part Two: 3354
29+
30+
--- Day 7: Handy Haversacks ---
31+
Part One: 119
32+
Part Two: 155802
2933
```

inputs/07-example.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
light red bags contain 1 bright white bag, 2 muted yellow bags.
2+
dark orange bags contain 3 bright white bags, 4 muted yellow bags.
3+
bright white bags contain 1 shiny gold bag.
4+
muted yellow bags contain 2 shiny gold bags, 9 faded blue bags.
5+
shiny gold bags contain 1 dark olive bag, 2 vibrant plum bags.
6+
dark olive bags contain 3 faded blue bags, 4 dotted black bags.
7+
vibrant plum bags contain 5 faded blue bags, 6 dotted black bags.
8+
faded blue bags contain no other bags.
9+
dotted black bags contain no other bags.

0 commit comments

Comments
 (0)