|
|
|
|
@ -45,6 +45,8 @@ impl Day7
|
|
|
|
|
|
|
|
|
|
fn solve_first_case(self: &mut Self) -> String
|
|
|
|
|
{
|
|
|
|
|
// The engineers just need the total calibration result,
|
|
|
|
|
// which is the sum of the test values from just the equations that could possibly be true.
|
|
|
|
|
|
|
|
|
|
self.final_result.to_string()
|
|
|
|
|
}
|
|
|
|
|
|