Initial bits for day6.

This commit is contained in:
2019-12-16 17:34:05 -08:00
parent 384f78e57b
commit 83a3acbc05
4 changed files with 1603 additions and 4 deletions

View File

@@ -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());
}
}
}