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

39 lines
682 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-07 21:32:06 +01:00
use aoc2019::day07;
2019-12-08 17:06:45 +01:00
use aoc2019::day08;
2019-12-09 16:27:06 +01:00
use aoc2019::day09;
2019-12-10 18:36:53 +01:00
use aoc2019::day10;
2019-12-11 23:58:25 +01:00
use aoc2019::day11;
2019-12-12 15:10:47 +01:00
use aoc2019::day12;
2019-12-14 00:51:44 +01:00
use aoc2019::day13;
2019-12-15 01:28:14 +01:00
use aoc2019::day14;
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-07 21:32:06 +01:00
day07::run,
2019-12-08 17:06:45 +01:00
day08::run,
2019-12-09 16:27:06 +01:00
day09::run,
2019-12-10 18:36:53 +01:00
day10::run,
2019-12-11 23:58:25 +01:00
day11::run,
2019-12-12 15:10:47 +01:00
day12::run,
2019-12-14 00:51:44 +01:00
day13::run,
2019-12-15 01:28:14 +01:00
day14::run,
2019-12-06 11:18:12 +01:00
];
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
}