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

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

It transmits to you a buffer (your puzzle input) listing each particle in order (starting with particle 0, then particle 1, particle 2, and so on). For each particle, it provides the X, Y, and Z coordinates for the particle's position (p), velocity (v), and acceleration (a), each in the format <X,Y,Z>.