Implement 2022 day 4

This commit is contained in:
2022-12-04 11:14:23 +01:00
parent e1b3b9d179
commit 9d23e80256
5 changed files with 1103 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 = 3;
const DAYS_IMPLEMENTED: u8 = 4;
fn read_input(day: u8) -> Vec<u8> {
let input_path = format!("inputs/{:02}.txt", day);