I hereby claim:
- I am chrisvittal on github.
- I am cvittal (https://keybase.io/cvittal) on keybase.
- I have a public key whose fingerprint is B1E2 1672 DFCE 15A0 1FB0 AE78 D76E 0937 44A9 8127
To claim this, I am signing this object:
const INPUT: &'static str = include_str!("../../data/day19"); | |
fn main() { | |
let input: Vec<Vec<u8>> = INPUT.lines().map(|l| l.bytes().collect()).collect(); | |
let x = input[0].iter().position(|&b| b == b'|').unwrap(); | |
let mut path = Path::new(x, 0, &input); | |
while path.step() {} | |
println!("1: {}", unsafe { ::std::str::from_utf8_unchecked(&path.seen) }); | |
println!("2: {}", path.count); |
I hereby claim:
To claim this, I am signing this object: