Cleanup
This commit is contained in:
parent
1f6e1c932c
commit
3b41f56cef
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user