Browse Source

Solved part1

Piotr Czajkowski 1 week ago
parent
commit
6c242fc8f1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      07/code.go

+ 2 - 0
07/code.go

@@ -51,6 +51,8 @@ func part1(maze []string, beams []int) int {
 					beams[i+1]++
 					beams[i+1]++
 				}
 				}
 
 
+				beams[i] = 0
+
 				count++
 				count++
 			}
 			}
 		}
 		}