advent_of_code_2024::day_3

Function sum_instructions

source
fn sum_instructions(instructions: &Vec<Instruction>) -> u32
Expand description

Solution to part 1. Sums the results of applying only Mul instructions that are not disabled by Dont instructions.