Add some comment

This commit is contained in:
DutchEllie 2021-12-08 10:58:56 +01:00
parent d09df2aeb5
commit 30f454bc2f
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ import (
"strconv"
)
// This time, instead of decrementing every single fish for every day, I only compute the amount of fish
// I store the amount of fish per their day counter
// the fishies are the stored in a merely 8 integer long slice that stores the amount of fish.
// The index of the slice represents the amount of days left in their cycle
func main() {
fishies, err := readInput("input")
if err != nil {