day 8 work and jumbled together

This commit is contained in:
RussellChamp committed 2021-12-08 16:31:05 -05:00
1 parent e76cb1a355
commit c7ea0afedc
18 files changed
+457 -21

No files matched your search

+2 -2
View File
@@ -37,8 +37,8 @@ func part1() {
fmt.Println(" Answer: How many measurements are larger than the previous measurement?")
input, err := os.Open("./input.txt")
defer input.Close()
check(err)
defer input.Close()
scanner := bufio.NewScanner(input)
@@ -67,8 +67,8 @@ func part2() {
fmt.Println(" Answer: How many sums are larger than the previous sum?")
input, err := os.Open("./input.txt")
defer input.Close()
check(err)
defer input.Close()
scanner := bufio.NewScanner(input)