aboutsummaryrefslogtreecommitdiff
path: root/2022/12/b.rs
blob: 62f34a55d894cfd2f58dc50caeeb00b84605b69f (plain)
1
2
3
4
5
6
7
8
mod common;
use common::*;

fn main() {
    let mut map = read_input();
    let end = |c: &Cell| c.h == 0;
    println!("{}", shortest_path_back(&mut map, end));
}

Generated with cgit - Back to sebastiano.tronto.net