[rust][7.1] Do part two of day 7

wip
Alpha Chen 9 years ago
parent bf87cc31b0
commit bf8d8c0044

@ -23,6 +23,7 @@ NOT y -> i";
pub fn solve(input: &str, wire_id: &str) -> u16 { pub fn solve(input: &str, wire_id: &str) -> u16 {
let mut circuit = Circuit::new(input); let mut circuit = Circuit::new(input);
circuit.connections.insert(Wire("b"), Signal::Value(3176));
circuit.signal_on(wire_id) circuit.signal_on(wire_id)
} }

Loading…
Cancel
Save