Compare commits
No commits in common. "day03" and "master" have entirely different histories.
2 changed files with 0 additions and 45 deletions
|
@ -1,35 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"io"
|
|
||||||
"os"
|
|
||||||
"strings"
|
|
||||||
)
|
|
||||||
|
|
||||||
func readInput() string {
|
|
||||||
stdin, err := io.ReadAll(os.Stdin)
|
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
str := string(stdin)
|
|
||||||
return str
|
|
||||||
}
|
|
||||||
|
|
||||||
func part1(lines []string) {
|
|
||||||
fmt.Println("Part 1 not implemented")
|
|
||||||
}
|
|
||||||
|
|
||||||
func part2(lines []string) {
|
|
||||||
fmt.Println("Part 2 not implemented")
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
input := readInput()
|
|
||||||
lines := strings.Split(input, "\n")
|
|
||||||
fmt.Println("---PART 1---")
|
|
||||||
part1(lines)
|
|
||||||
fmt.Println("---PART 2---")
|
|
||||||
part2(lines)
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
467..114..
|
|
||||||
...*......
|
|
||||||
..35..633.
|
|
||||||
......#...
|
|
||||||
617*......
|
|
||||||
.....+.58.
|
|
||||||
..592.....
|
|
||||||
......755.
|
|
||||||
...$.*....
|
|
||||||
.664.598..
|
|
Loading…
Add table
Reference in a new issue