aoc2022

Advent of Code 2022 solutions in Rust
git clone git://code.mfashby.net:/aoc2022
Log | Files | Refs

main.rs (2150B)


      1 #![feature(get_many_mut)]
      2 #![feature(iterator_try_collect)]
      3 #![feature(int_roundings)]
      4 use std::fs;
      5 
      6 // mod day1;
      7 // mod day2;
      8 // mod day3;
      9 // mod day4;
     10 // mod day5;
     11 // mod day6;
     12 // mod day7;
     13 // mod day8;
     14 // mod day9;
     15 // mod day10;
     16 // mod day11;
     17 // mod day12;
     18 // mod day13;
     19 // mod day14;
     20 // mod day15;
     21 // mod day16;
     22 //mod day17;
     23 //mod day18;
     24 mod day25;
     25 
     26 fn main() {
     27     // day1::run(fs::read_to_string("input/day1.txt").expect("Failed to read input file!"));
     28     // day2::run(fs::read_to_string("input/day2.txt").expect("Failed to read input file!"));
     29     // day3::run(fs::read_to_string("input/day3.txt").expect("Failed to read input file!"));
     30     // day4::run(fs::read_to_string("input/day4.txt").expect("Failed to read input file!"));
     31     // day5::run(fs::read_to_string("input/day5.txt").expect("Failed to read input file!"));
     32     // day6::run(fs::read_to_string("input/day6.txt").expect("Failed to read input file!"));
     33     // day7::run(fs::read_to_string("input/day7.txt").expect("Failed to read input file!"));
     34     // day8::run(fs::read_to_string("input/day8.txt").expect("Failed to read input file!"));
     35     // day9::run(fs::read_to_string("input/day9.txt").expect("Failed to read input file!"));
     36     // day10::run(fs::read_to_string("input/day10.txt").expect("Failed to read input file!"));
     37     // day11::run(fs::read_to_string("input/day11.txt").expect("Failed to read input file!"));
     38     // day12::run(fs::read_to_string("input/day12.txt").expect("Failed to read input file!"));
     39     // day13::run(fs::read_to_string("input/day13.txt").expect("Failed to read input file!"));
     40     // day14::run(fs::read_to_string("input/day14.txt").expect("Failed to read input file!"));
     41     // day15::run(fs::read_to_string("input/day15.txt").expect("Failed to read input file!"));
     42     // day16::run(fs::read_to_string("input/day16.txt").expect("Failed to read input file!"));
     43     //day17::run(fs::read_to_string("input/day17.txt").expect("Failed to read input file!"));
     44     //day18::run(fs::read_to_string("input/day18.txt").expect("Failed to read input file!"));
     45     day25::run(fs::read_to_string("input/day25.txt").expect("Failed to read input file!"));
     46 }