This commit is contained in:
2022-12-18 21:17:32 +01:00
parent 4c89c9a423
commit 4f2d85c51c
3 changed files with 330 additions and 0 deletions

16
day17/ex2/main.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"aoc2022/day17/common"
"bufio"
"fmt"
"os"
)
func main() {
chamber := common.Parse(*bufio.NewScanner(os.Stdin))
chamber.DropNRocks(1000000000000)
fmt.Println(chamber.GetHighestPoint())
}