Day 18
This commit is contained in:
14
day18/ex2/main.go
Normal file
14
day18/ex2/main.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"aoc2022/day18/common"
|
||||
"bufio"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
grid := common.Parse(*bufio.NewScanner(os.Stdin))
|
||||
|
||||
fmt.Println(grid.GetTotalOutsideArea())
|
||||
}
|
||||
Reference in New Issue
Block a user