Day 10 part 2.
This commit is contained in:
@@ -32,8 +32,8 @@ fn solve(input: &Vec<char>, runs: usize) -> String {
|
||||
}
|
||||
|
||||
#[aoc(day10, part2)]
|
||||
fn part2(input: &[char]) -> String {
|
||||
todo!()
|
||||
fn part2(input: &Vec<char>) -> usize {
|
||||
solve(input, 50).len()
|
||||
}
|
||||
|
||||
|
||||
@@ -45,9 +45,4 @@ mod tests {
|
||||
fn part1_example() {
|
||||
assert_eq!(solve(&parse("111221"), 1), "312211");
|
||||
}
|
||||
|
||||
// #[test]
|
||||
// fn part2_example() {
|
||||
// assert_eq!(part2(&parse("<EXAMPLE>")), "<RESULT>");
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user