Compare commits
No commits in common. "858c57647f24ce45e368054bed05532f30a6f75f" and "e4f381df4b0d8a32662de635987fdec3f9facb64" have entirely different histories.
858c57647f
...
e4f381df4b
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -17,8 +17,6 @@ jobs:
|
|||||||
run: go build -v ./day01/*.go
|
run: go build -v ./day01/*.go
|
||||||
- name: Build day two
|
- name: Build day two
|
||||||
run: go build -v ./day02/*.go
|
run: go build -v ./day02/*.go
|
||||||
- name: Run day one
|
|
||||||
run: go run -v ./day01/*.go
|
|
||||||
- name: Display Go version
|
- name: Display Go version
|
||||||
run: go version
|
run: go version
|
||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
../inputs
|
|
||||||
@ -109,7 +109,7 @@ func CombineIndexes(s string) int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
file, err := os.Open("./inputs/day01_input")
|
file, err := os.Open("input")
|
||||||
check(err)
|
check(err)
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
|
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
../inputs
|
|
||||||
@ -140,7 +140,7 @@ func PrintAndWait[T any](x T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
file, err := os.Open("./inputs/day02_input")
|
file, err := os.Open("input")
|
||||||
check(err)
|
check(err)
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user