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

12 lines
204 B
Rust
Raw Normal View History

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-01 16:03:34 +01:00
fn main() -> Result<()> {
2019-12-03 09:52:39 +01:00
let days: &[fn() -> Result<()>] = &[day01::run, day02::run, day03::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
}