aoc2024/day-19/solve.go

21 lines
372 B
Go
Raw Permalink Normal View History

2024-12-20 13:35:51 +00:00
package daynineteen
2024-12-19 09:39:38 +00:00
import (
"github.com/onyx-and-iris/aoc2024/day-19/internal/one"
"github.com/onyx-and-iris/aoc2024/day-19/internal/two"
)
func Solve(buf []byte) (int, int, error) {
answerOne, err := one.Solve(buf)
if err != nil {
return 0, 0, err
}
answerTwo, err := two.Solve(buf)
if err != nil {
return 0, 0, err
}
return answerOne, answerTwo, nil
}