Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```