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

23 lines
362 B
Rust
Raw Normal View History

use aoc::DayFunc;
2019-12-02 16:05:24 +01:00
use aoc::Result;
2019-12-01 16:03:34 +01:00
use aoc2019::day01;
2019-12-02 11:50:39 +01:00
use aoc2019::day02;
2019-12-03 09:52:39 +01:00
use aoc2019::day03;
2019-12-04 23:18:01 +01:00
use aoc2019::day04;
2019-12-05 15:45:19 +01:00
use aoc2019::day05;
2019-12-06 11:18:12 +01:00
use aoc2019::day06;
2019-12-01 16:03:34 +01:00
fn main() -> Result<()> {
let days: &[DayFunc] = &[
2019-12-06 11:18:12 +01:00
day01::run,
day02::run,
day03::run,
day04::run,
day05::run,
day06::run,
];
2019-12-01 16:03:34 +01:00
2019-12-02 16:05:24 +01:00
aoc::run(days)
2019-12-01 16:03:34 +01:00
}