Day03 *finally* done.
This commit is contained in:
parent
bd5d5ae901
commit
bb245b8711
12 changed files with 1002 additions and 56 deletions
|
@ -7,8 +7,8 @@ fn main() {
|
|||
let structured_input = parse::parse(input);
|
||||
|
||||
println!("Part One");
|
||||
println!("Result: {}", part1::part1());
|
||||
println!("Result: {}", part1::part1(&structured_input));
|
||||
|
||||
println!("Part Two");
|
||||
println!("Result: {}", part2::part2());
|
||||
println!("Result: {}", part2::part2(&structured_input));
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
pub fn parse(input: &str) -> usize {
|
||||
pub type StructuredInput = usize;
|
||||
|
||||
pub fn parse(input: &str) -> StructuredInput {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::parse::*;
|
||||
|
||||
pub fn part1() -> usize {
|
||||
pub fn part1(input: &StructuredInput) -> usize {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::parse::*;
|
||||
|
||||
pub fn part2() -> usize {
|
||||
pub fn part2(input: &StructuredInput) -> usize {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue