Compare commits
1 Commits
change-inp
...
a4ee3fde16
| Author | SHA1 | Date | |
|---|---|---|---|
| a4ee3fde16 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -14,8 +14,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
|
||||||
|
|||||||
8
README.md
Normal file
8
README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Advent of Code 2023
|
||||||
|
|
||||||
|
An attempt to start programming again.
|
||||||
|
|
||||||
|
- [Day 1](./day01/trebuchet.go)
|
||||||
|
- [Day 2](./day02/lottacubes.go)
|
||||||
|
|
||||||
|
This repo gets automatically mirrored to [Github](https://github.com/Doddophonique/aoc2023).
|
||||||
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user