17 lines
217 B
Go
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)
|
||
|
}
|