aoc2024/day-07/internal/two/equation.go

11 lines
156 B
Go

package two
type equation struct {
target int
operands []int
}
func newEquation(res int, operands []int) equation {
return equation{res, operands}
}