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.
 
 
 
aoc2020/day06/solve1.go

16 lines
217 B

package day06
import (
"log"
)
func Solve1() {
counter := 0
for _, row := range rows {
// Sum the amount of votes in total
counter += len(row.Votes)
}
log.Printf("2020-12-06.01: Answer: %d\n", counter)
}