chore: add day 11
Go Test / build (pull_request) Successful in 35s

This commit is contained in:
xuu
2023-12-12 13:44:28 -07:00
parent 30241aa5d3
commit 596f3e7533
10 changed files with 592 additions and 21 deletions
+30
View File
@@ -0,0 +1,30 @@
package main
import (
"bufio"
_ "embed"
"fmt"
aoc "go.sour.is/advent-of-code-2023"
)
// var log = aoc.Log
func main() { aoc.MustResult(aoc.Runner(run)) }
type result struct {
valuePT1 int
valuePT2 int
}
func (r result) String() string { return fmt.Sprintf("%#v", r) }
func run(scan *bufio.Scanner) (*result, error) {
for scan.Scan() {
_ = scan.Text()
}
return &result{}, nil
}