https://github.com/richfitz/advent-of-code
🎄🎅⛄💻⛄🎅🎄 Advent of code in R
https://github.com/richfitz/advent-of-code
Last synced: 3 months ago
JSON representation
🎄🎅⛄💻⛄🎅🎄 Advent of code in R
- Host: GitHub
- URL: https://github.com/richfitz/advent-of-code
- Owner: richfitz
- Created: 2022-12-13T18:00:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-19T09:26:32.000Z (over 2 years ago)
- Last Synced: 2026-01-01T10:40:19.919Z (7 months ago)
- Language: R
- Size: 393 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of code
Solutions to Advent of Code, created as part of our yearly departmental challenge. I've never made it to the last day.
These all use R with only default-loaded packages. Normally I aim for some compromise between fairly small, fairly fast and somewhat readable.
In 2022 I am trying to find what is, to me, the "nicest" solution, and the version here is rarely the exact version used submitting the answer.
In 2023 I am trying to do the puzzle first in Python, though also doing an R solution afterwards.
## Timing and code size information
Running
```
./report
```
prints a report in glorious technicolour with the estimated time to complete each part of the puzzle (plus shared setup cost) and number of "interesting" lines.
## Import from the departmental repo
Running
```
./import
```
will import (overwriting without prompting) solutions from the departmental repo, rewriting code and reorganising inputs to suit this single-user repo.