Day 17
This commit is contained in:
16
day17/ex2/main.go
Normal file
16
day17/ex2/main.go
Normal 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())
|
||||
}
|
||||
Reference in New Issue
Block a user