Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/applejag/adventofcode-2022-rust
My attempt at Advent of Code 2022 using Rust
https://github.com/applejag/adventofcode-2022-rust
advent-of-code advent-of-code-2022 advent-of-code-rust rust rust-lang
Last synced: 5 days ago
JSON representation
My attempt at Advent of Code 2022 using Rust
- Host: GitHub
- URL: https://github.com/applejag/adventofcode-2022-rust
- Owner: applejag
- Created: 2022-12-01T06:52:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T21:00:31.000Z (over 1 year ago)
- Last Synced: 2024-10-11T10:14:51.054Z (28 days ago)
- Topics: advent-of-code, advent-of-code-2022, advent-of-code-rust, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2022 via Rust
This repo contains my attempt at Advent of Code 2022
().## Running
Requires Rust:
```console
$ cargo run -- day01
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/adventofcode-2022-rust day01`
>>> day01, part1
>>> file: inputs/day01.txt
Lines: 2244
Biggest sum: 66306
``````console
$ cargo run -- day01 part2
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/adventofcode-2022-rust day01 part2`
>>> day01, part2
>>> file: inputs/day01.txt
Lines: 2244
0: 66306
1: 64532
2: 64454
Sum: 195292
```