Function advent_solutions::advent2017::day05::parse_input [] [src]

pub fn parse_input(input: &str) -> Vec<isize>

The message includes a list of the offsets for each jump. Jumps are relative: -1 moves to the previous instruction, and 2 skips the next one. Start at the first instruction in the list. The goal is to follow the jumps until one leads outside the list.