day 10 part 1
This commit is contained in:
parent
e59126aec8
commit
f51df8571c
3 changed files with 417 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue