This commit is contained in:
Brian Buller 2018-12-18 09:35:31 -06:00
parent 1f6e1c932c
commit 3b41f56cef

View File

@ -55,13 +55,11 @@ func part1() {
fmt.Println(ttlTrees * ttlLmbr)
}
// 191080?
func part2() {
var isDupe bool
var i int
target := 1000000000
for i = 0; i < target; i++ {
//fmt.Print(CLEAR_SCREEN, target)
next := tickToNext()
if isDupe, prevScans = checkDuplicateState(next, prevScans); isDupe {
i++