Day 6, part 2. A bit brute-force, but it gets the job done.

This commit is contained in:
Anna Rose Wiggins 2018-12-06 11:48:51 -05:00
parent 0c96d7dded
commit 0388b57112
No known key found for this signature in database
GPG key ID: 8D9ACA841015C59A
2 changed files with 75 additions and 21 deletions

16
2018/day06-2.go Normal file
View file

@ -0,0 +1,16 @@
package main
import (
"fmt"
"internal/coords"
"internal/util"
)
func main() {
data := util.ReadInput()
points := coords.ParsePoints(data)
area := coords.ComputeNearnessRegion(points, 10000)
fmt.Println(area)
}