Cleanup
This commit is contained in:
parent
1f6e1c932c
commit
3b41f56cef
@ -55,13 +55,11 @@ func part1() {
|
|||||||
fmt.Println(ttlTrees * ttlLmbr)
|
fmt.Println(ttlTrees * ttlLmbr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 191080?
|
|
||||||
func part2() {
|
func part2() {
|
||||||
var isDupe bool
|
var isDupe bool
|
||||||
var i int
|
var i int
|
||||||
target := 1000000000
|
target := 1000000000
|
||||||
for i = 0; i < target; i++ {
|
for i = 0; i < target; i++ {
|
||||||
//fmt.Print(CLEAR_SCREEN, target)
|
|
||||||
next := tickToNext()
|
next := tickToNext()
|
||||||
if isDupe, prevScans = checkDuplicateState(next, prevScans); isDupe {
|
if isDupe, prevScans = checkDuplicateState(next, prevScans); isDupe {
|
||||||
i++
|
i++
|
||||||
|
Loading…
Reference in New Issue
Block a user