adventofcode/2018/day07-2.go
2018-12-10 00:57:35 -05:00

20 lines
256 B
Go

package main
import (
"fmt"
"internal/tree"
"internal/util"
)
func main() {
data := util.ReadInput()
// Build a tree of dependencies.
root := tree.BuildDependencyTree(data)
// Build
time := tree.SimulateConstruction(root)
fmt.Println(time)
}