day 6
This commit is contained in:
7
src/bin/day06_1.rs
Normal file
7
src/bin/day06_1.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use aoc2022::day06::process_part_1;
|
||||
use std::fs;
|
||||
|
||||
fn main() {
|
||||
let file = fs::read_to_string("./inputs/day6.txt").unwrap();
|
||||
println!("{}", process_part_1(&file));
|
||||
}
|
||||
7
src/bin/day06_2.rs
Normal file
7
src/bin/day06_2.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use aoc2022::day06::process_part_2;
|
||||
use std::fs;
|
||||
|
||||
fn main() {
|
||||
let file = fs::read_to_string("./inputs/day6.txt").unwrap();
|
||||
println!("{}", process_part_2(&file));
|
||||
}
|
||||
Reference in New Issue
Block a user