summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2022-12-11 00:20:42 +0100
committerMike Vink <mike1994vink@gmail.com>2022-12-11 00:20:42 +0100
commit76e924fa212f275206730337ebaae5059f3a9d21 (patch)
tree61a3b41ca46b0d7ab5cad7e2d60b0b3861f40427
parent305b9c290bc2b4a9c49a6a43f7b5725cac6757f7 (diff)
day8 comment
-rw-r--r--day8.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/day8.go b/day8.go
index 5c416e2..f4e8deb 100644
--- a/day8.go
+++ b/day8.go
@@ -155,7 +155,7 @@ func main() {
vis := q.countVisibleTrees(hmap, xlen, ylen)
fmt.Println("Part 1:", vis)
- // part 2... meh not sure how to optimize this further? Each tree can have local best scenic score
+ // part 2
runningScore := 0
for x := 1; x < xlen-1; x++ {
for y := 1; y < ylen-1; y++ {