day 10 part 1

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-12-10 15:30:26 -06:00
parent e59126aec8
commit f51df8571c
3 changed files with 417 additions and 2 deletions

View file

@ -18,7 +18,7 @@ impl Todo {
fn part1(input: String) -> Result<usize> {
// parse
let start = Instant::now();
let reading = Todo::new(&input)?;
let todo = Todo::new(&input)?;
let parsed_time = start.elapsed();
// algo
@ -37,7 +37,7 @@ fn part1(input: String) -> Result<usize> {
fn part2(input: String) -> Result<usize> {
// parse
let start = Instant::now();
let reading = Todo::new(&input)?;
let todo = Todo::new(&input)?;
let parsed_time = start.elapsed();
// algo