Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agilous/2023-advent-of-code
My solutions for the 2023 Advent of Code Challenge.
https://github.com/agilous/2023-advent-of-code
advent-of-code advent-of-code-2023
Last synced: 30 days ago
JSON representation
My solutions for the 2023 Advent of Code Challenge.
- Host: GitHub
- URL: https://github.com/agilous/2023-advent-of-code
- Owner: agilous
- License: mit
- Created: 2023-12-04T16:33:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-05T20:53:00.000Z (11 months ago)
- Last Synced: 2023-12-05T21:39:59.303Z (11 months ago)
- Topics: advent-of-code, advent-of-code-2023
- Language: Ruby
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2023
My solutions for the [2023 Advent of Code](https://adventofcode.com/2023)
Challenge. [Here](https://github.com/topics/advent-of-code-2023?l=ruby) are
other Ruby based submissions.**Current Benchmarks**
```
user system total real
day01 0.078802 0.000582 0.079384 ( 0.084521)
day02 0.001070 0.000084 0.001154 ( 0.001927)
```## Requirements
* Ruby 3.1.2
* A recent version of git## Setup
With the requirements above run the following in a terminal:
```shell
git clone [email protected]:agilous/2023-advent-of-code.git
cd 2023-advent-of-code
./bin/setup
```## Usage
Substituting the desired day (01-25) for 'XX' below, in a terminal run:
```shell
irb -r ./day_XX/day_XX.rb
```
In the resulting irb session run:
```ruby
DayXX.new.solution
```## Benchmarks
In a terminal run:
```shell
./bin/benchmark
```## Testing
In a terminal run:
```shell
./bin/test
```