Brian Buller
4 years ago
50 changed files with 2141 additions and 1481 deletions

512015/day01/problem

742015/day02/problem

692015/day03/problem

432015/day04/problem

822015/day05/problem

742015/day06/problem

682015/day07/problem

922015/day08/problem

432015/day09/problem

412015/day10/problem

762015/day11/problem

482015/day12/problem

762015/day13/problem

852015/day14/problem

812015/day15/problem

732015/day16/problem

462015/day17/problem

792015/day18/problem

862015/day19/problem

602015/day20/problem

632015/day21/problem

1332015/day22/problem

802015/day23/problem

952015/day24/problem

932015/day25/problem

412016/day01/problem

512016/day02/problem

352016/day03/problem

532016/day04/problem

682016/day05/problem

232016/day06/problem

542016/day07/problem

602016/day08/problem

842016/day09/problem

612016/day10/problem

2222016/day11/problem

632016/day12/problem

412016/day13/problem

882016/day14/problem

772016/day15/problem

872016/day16/problem

782016/day17/problem

842016/day18/problem

342016/day19/problem

272016/day20/problem

1032016/day21/problem

1762016/day22/problem

932016/day23/problem

462016/day24/problem

622016/day25/problem
@ 1,53 +1,46 @@ 

Advent of Code 



br0xen 40* 



• [About] 

• [Stats] 

• [Leaderboard] 

• [Settings] 

• [Log out] 

Advent of Code 



 Day 17: No Such Thing as Too Much  



The elves bought too much eggnog again  150 liters this time. To fit it all into your 

refrigerator, you'll need to move it into smaller containers. You take an inventory of the 

capacities of the available containers. 

The elves bought too much eggnog again  150 liters this time. To fit it all 

into your refrigerator, you'll need to move it into smaller containers. You 

take an inventory of the capacities of the available containers. 



For example, suppose you have containers of size 20, 15, 10, 5, and 5 liters. If you need to 

store 25 liters, there are four ways to do it: 

For example, suppose you have containers of size 20, 15, 10, 5, and 5 

liters. If you need to store 25 liters, there are four ways to do it: 



• 15 and 10 

• 20 and 5 (the first 5) 

• 20 and 5 (the second 5) 

• 15, 5, and 5 



Filling all containers entirely, how many different combinations of containers can exactly fit 

all 150 liters of eggnog? 

Filling all containers entirely, how many different combinations of 

containers can exactly fit all 150 liters of eggnog? 



Your puzzle answer was 1304. 



 Part Two  



While playing with all the containers in the kitchen, another load of eggnog arrives! The 

shipping and receiving department is requesting as many containers as you can spare. 

While playing with all the containers in the kitchen, another load of eggnog 

arrives! The shipping and receiving department is requesting as many 

containers as you can spare. 
