Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rarescosma/advent-of-code-2022
Solutions to all 25 Advent of Code 2022 problems in Python with a dash of Rust. :snake: :crab:
https://github.com/rarescosma/advent-of-code-2022
advent-of-code advent-of-code-2022 adventofcode aoc aoc2022 python rust
Last synced: 1 day ago
JSON representation
Solutions to all 25 Advent of Code 2022 problems in Python with a dash of Rust. :snake: :crab:
- Host: GitHub
- URL: https://github.com/rarescosma/advent-of-code-2022
- Owner: rarescosma
- License: mit
- Created: 2022-12-26T10:50:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-14T14:04:39.000Z (14 days ago)
- Last Synced: 2024-12-14T15:17:46.264Z (14 days ago)
- Topics: advent-of-code, advent-of-code-2022, adventofcode, aoc, aoc2022, python, rust
- Language: Python
- Homepage:
- Size: 154 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 2022 :christmas_tree:
Solutions to all 25 Advent of Code 2022 puzzles mostly written in Python (in an attempt to get back some Python foo) save for days [12](2022/src/bin/day12.rs) and [24](2022/src/bin/day24.rs) which involve [Dijsktra's algorithm](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) so had to be done in Rust to re-use the [generic implementation](https://github.com/rarescosma/advent-of-code-2021-rs/blob/main/crates/aoc_dijsktra/src/lib.rs) from last year. :snake: :crab:Thanks [@ericwastl](https://twitter.com/ericwastl) for providing the challenge.
## Usage
```sh
./run.sh # sequential run of all days
./par.sh # parallel run of all days
./run.sh [INTERPETER] # sequential run of all days using specified INTERPRETER (eg. pypy)
./par.sh [INTERPETER] # parallel run of all days using specified INTERPRETER (eg. pypy)
```