Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coteh/adventofcode2018
Advent of Code 2018 solutions
https://github.com/coteh/adventofcode2018
Last synced: 15 days ago
JSON representation
Advent of Code 2018 solutions
- Host: GitHub
- URL: https://github.com/coteh/adventofcode2018
- Owner: Coteh
- Created: 2018-12-07T07:18:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T23:55:09.000Z (24 days ago)
- Last Synced: 2024-12-02T00:27:01.740Z (24 days ago)
- Language: Go
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# adventofcode2018
This is the first year I did Advent of Code. I used Go for this challenge, as I was learning Go at the time.
## Instructions
To compile and run:
```sh
go run 03/03.go# pass in input file directly
go run 03/03.go < 03/input
```Alternatively, the programs can be compiled then run directly:
```sh
go build -o 03/03 03/03.go
```Then once it's compiled, can simply run using:
```sh
./03/03# pass in input file directly
./03/03 < 03/input
```NOTE: Days 1 and 2 are each split into 2 sub-modules, ending in either `-1` or `-2` (for parts 1 and 2 respectively)
## Progress
| Day | Part 1 | Part 2 |
|------|--------|--------|
| 1 | ✅ | ✅ |
| 2 | ✅ | ✅ |
| 3 | ✅ | ✅ |
| 4 | ✅ | ✅ |
| 5 | ✅ | ✅ |
| 6 | ✅ | ✅ |
| 7 | ✅ | ✅ |
| 8 | ✅ | ✅ |
| 9 | ✅ | ✅ |
| 10 | ✅* | ✅ |
| 11 | ✅ | ✅** |
| 12 | ✅ | |
| 13 | ✅ | |
| 14 | ✅ | ✅ |
| 15 | | |
| 16 | | |
| 17 | | |
| 18 | | |
| 19 | | |
| 20 | | |
| 21 | | |
| 22 | | |
| 23 | | |
| 24 | | |
| 25 | | |\* Output has to be verified manually at the moment. See TODO comment in `./10/test.sh` for more info.
\** Day 11 part 2 is incredibly slow at the moment. Will need to see if it can be optimized later.