applejag / adventofcode-2022-rust

My attempt at Advent of Code 2022 using Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2022 via Rust

This repo contains my attempt at Advent of Code 2022 (https://adventofcode.com/2022).

Running

Requires Rust: https://rustup.rs/

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

About

My attempt at Advent of Code 2022 using Rust


Languages

Language:Rust 100.0%