Initial bits for day6.
This commit is contained in:
@@ -2,6 +2,7 @@ mod args;
|
||||
mod endchannel;
|
||||
mod fuel;
|
||||
mod machine;
|
||||
mod orbits;
|
||||
mod wiremap;
|
||||
|
||||
use crate::args::Command;
|
||||
@@ -102,5 +103,10 @@ fn main() {
|
||||
// 353 is wrong (low)
|
||||
println!("Successful digits: {}", count);
|
||||
}
|
||||
|
||||
Command::Orbits(uom) => {
|
||||
println!("Got orbits.");
|
||||
println!("Base map has {} orbits.", uom.num_orbits());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user