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

11 lines
156 B
Go
Raw Normal View History

2024-12-07 23:39:28 +00:00
package one
type equation struct {
target int
operands []int
}
func newEquation(res int, operands []int) equation {
return equation{res, operands}
}