projects
/
aoc-2021.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c2370
)
Save something left behind..
day6
author
sgf
<sgf.dma@gmail.com>
Mon, 1 Aug 2022 14:24:33 +0000
(17:24 +0300)
committer
sgf
<sgf.dma@gmail.com>
Mon, 1 Aug 2022 14:24:33 +0000
(17:24 +0300)
day6/main.go
patch
|
blob
|
history
diff --git
a/day6/main.go
b/day6/main.go
index
606fe82
..
1d640e9
100644
(file)
--- a/
day6/main.go
+++ b/
day6/main.go
@@
-158,3
+158,12
@@
func RunF2(input string) {
n := RunF2Days(input, 80)
fmt.Printf("Nodes: %v\n", n)
}
+
+var fishesGroup [9]int
+
+func live2() {
+ for i := 0; i < 9; i++ {
+ fishesGroup[0]
+ }
+}
+