advent-of-code/aoc2021/src/main.rs

24 lines
366 B
Rust
Raw Normal View History

2021-11-25 16:49:52 +01:00
use anyhow::Result;
use aoc::DayFunc;
2021-12-01 07:30:10 +01:00
use aoc2021::day01;
2021-12-02 10:25:59 +01:00
use aoc2021::day02;
2021-12-03 14:44:42 +01:00
use aoc2021::day03;
2021-12-04 14:39:22 +01:00
use aoc2021::day04;
2021-12-05 16:12:37 +01:00
use aoc2021::day05;
2021-12-06 11:05:34 +01:00
use aoc2021::day06;
2021-11-25 16:49:52 +01:00
fn main() -> Result<()> {
2021-12-06 11:05:34 +01:00
let days: &[DayFunc] = &[
day01::run,
day02::run,
day03::run,
day04::run,
day05::run,
day06::run,
];
2021-11-25 16:49:52 +01:00
aoc::run(days)
}