Add some comment
This commit is contained in:
parent
d09df2aeb5
commit
30f454bc2f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue