31 lines
488 B
Rust
31 lines
488 B
Rust
fn solve_part1(input: &str) -> i32 {
|
|
todo!();
|
|
}
|
|
|
|
fn solve_part2(input: &str) -> i32 {
|
|
todo!();
|
|
}
|
|
|
|
pub fn run(input: String) {
|
|
println!("--- Part 1 ---");
|
|
println!("Answer: {}", solve_part1(&input));
|
|
println!();
|
|
println!("--- Part 2 ---");
|
|
println!("Answer: {}", solve_part2(&input))
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
const EXAMPLE_INPUT: &str = todo!();
|
|
|
|
#[test]
|
|
fn part1() {
|
|
todo!();
|
|
}
|
|
|
|
#[test]
|
|
fn part2() {
|
|
todo!();
|
|
}
|
|
}
|