18 lines
238 B
Go
18 lines
238 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"internal/day11"
|
||
|
"internal/util"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
serialNumber := util.ReadInputInts()[0]
|
||
|
|
||
|
grid := day11.GenerateGrid(serialNumber)
|
||
|
x, y := day11.FindBestWindow3x3(grid)
|
||
|
|
||
|
fmt.Printf("%d,%d\n", x, y)
|
||
|
}
|