Add day helper
CHECKPOINT
This commit is contained in:
parent
9184f6adfd
commit
f53e0b0d00
2 changed files with 28 additions and 0 deletions
11
2022/src/bin/dayXX.rs.tmpl
Normal file
11
2022/src/bin/dayXX.rs.tmpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const INPUT: &str = include_str!("../../input/dayXX.txt");
|
||||
|
||||
fn main() {
|
||||
println!("{}", part1(INPUT));
|
||||
}
|
||||
|
||||
fn part1(input: &str) -> usize {
|
||||
for line in input.split('\n').filter(|l| !l.is_empty()) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue