public function __invoke() { $input = $this->loadInput("Day17/Puzzle1"); $filler = new EggnogFiller(explode(PHP_EOL, $input)); $this->write("# combinations which use minimum number of containers: " . count($filler->fillMinimumNumberOfContainers(150))); }
public function __invoke() { $input = $this->loadInput("Day17/Puzzle1"); $filler = new EggnogFiller(explode(PHP_EOL, $input)); $this->write("# combinations: " . count($filler->fill(150))); }