Advent of Code Solutions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
218 B

package adventoc2024
func anyt(b []bool) bool {
for i := range b {
if b[i] {
return true
}
}
return false
}
func allt(b []bool) bool {
for i := range b {
if !b[i] {
return false
}
}
return true
}