Implement 2022 day 1

This commit is contained in:
2022-12-01 09:32:18 +01:00
parent 2ae2d6baa8
commit 85a51b13c1
6 changed files with 2348 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 = 0;
const DAYS_IMPLEMENTED: u8 = 1;
fn read_input(day: u8) -> Vec<u8> {
let input_path = format!("inputs/{:02}.txt", day);