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

17 lines
217 B
Go

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)
}