Implement day 2 2022

This commit is contained in:
2022-12-02 09:05:31 +01:00
parent 48594a75e6
commit 256d351f8e
4 changed files with 2624 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ use criterion::BenchmarkId;
use criterion::Criterion;
/// Number of days we have an implementation to benchmark
const DAYS_IMPLEMENTED: u8 = 1;
const DAYS_IMPLEMENTED: u8 = 2;
fn read_input(day: u8) -> Vec<u8> {
let input_path = format!("inputs/{:02}.txt", day);