Day 9 boilerplate
This commit is contained in:
parent
d23fee8c4b
commit
a3d1031b05
0
input/09.txt
Normal file
0
input/09.txt
Normal file
18
src/day09/mod.rs
Normal file
18
src/day09/mod.rs
Normal file
@ -0,0 +1,18 @@
|
||||
use crate::read;
|
||||
use itertools::Itertools;
|
||||
|
||||
pub fn run() {
|
||||
let input = read("08");
|
||||
let lines = input.lines();
|
||||
for line in lines {}
|
||||
|
||||
#[cfg(feature = "part1")]
|
||||
{
|
||||
println!("Day 9, Part 01: {}", "TODO");
|
||||
}
|
||||
|
||||
#[cfg(feature = "part2")]
|
||||
{
|
||||
println!("Day 9, Part 02: {}", "TODO");
|
||||
}
|
||||
}
|
@ -9,6 +9,7 @@ mod day05;
|
||||
mod day06;
|
||||
mod day07;
|
||||
mod day08;
|
||||
mod day09;
|
||||
|
||||
fn main() {
|
||||
let today = Local::now().day();
|
||||
@ -37,6 +38,9 @@ fn main() {
|
||||
if cfg!(feature = "day08") || (cfg!(feature = "today") && today == 8) {
|
||||
day08::run();
|
||||
}
|
||||
if cfg!(feature = "day09") || (cfg!(feature = "today") && today == 9) {
|
||||
day09::run();
|
||||
}
|
||||
println!("Finished, time taken: {:?}", now.elapsed())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user