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

62 lines
1.1 KiB
Rust
Raw Normal View History

2020-12-14 18:08:16 +01:00
use anyhow::Result;
2020-12-01 16:34:25 +01:00
use aoc::DayFunc;
use aoc2020::day01;
2020-12-02 12:50:50 +01:00
use aoc2020::day02;
2020-12-03 17:17:44 +01:00
use aoc2020::day03;
2020-12-04 10:20:13 +01:00
use aoc2020::day04;
2020-12-05 10:36:30 +01:00
use aoc2020::day05;
2020-12-06 12:43:48 +01:00
use aoc2020::day06;
2020-12-07 14:41:00 +01:00
use aoc2020::day07;
2020-12-08 16:03:33 +01:00
use aoc2020::day08;
2020-12-09 06:35:18 +01:00
use aoc2020::day09;
2020-12-10 14:09:47 +01:00
use aoc2020::day10;
2020-12-11 14:37:14 +01:00
use aoc2020::day11;
2020-12-12 14:06:03 +01:00
use aoc2020::day12;
2020-12-13 15:22:23 +01:00
use aoc2020::day13;
2020-12-14 11:04:57 +01:00
use aoc2020::day14;
2020-12-15 09:56:43 +01:00
use aoc2020::day15;
2020-12-16 09:28:45 +01:00
use aoc2020::day16;
2020-12-17 13:12:11 +01:00
use aoc2020::day17;
2020-12-18 15:22:42 +01:00
use aoc2020::day18;
2020-12-20 17:29:42 +01:00
use aoc2020::day19;
2020-12-20 22:33:42 +01:00
use aoc2020::day20;
2020-12-21 18:42:12 +01:00
use aoc2020::day21;
2020-12-22 13:08:35 +01:00
use aoc2020::day22;
2020-12-23 23:58:34 +01:00
use aoc2020::day23;
2020-12-24 15:10:48 +01:00
use aoc2020::day24;
2020-12-25 22:08:55 +01:00
use aoc2020::day25;
2020-12-01 16:34:25 +01:00
fn main() -> Result<()> {
2020-12-06 12:43:48 +01:00
let days: &[DayFunc] = &[
day01::run,
day02::run,
day03::run,
day04::run,
day05::run,
day06::run,
2020-12-07 14:41:00 +01:00
day07::run,
2020-12-08 16:03:33 +01:00
day08::run,
2020-12-09 06:35:18 +01:00
day09::run,
2020-12-10 14:09:47 +01:00
day10::run,
2020-12-11 14:37:14 +01:00
day11::run,
2020-12-12 14:06:03 +01:00
day12::run,
2020-12-13 15:22:23 +01:00
day13::run,
2020-12-14 11:04:57 +01:00
day14::run,
2020-12-15 09:56:43 +01:00
day15::run,
2020-12-16 09:28:45 +01:00
day16::run,
2020-12-17 13:12:11 +01:00
day17::run,
2020-12-18 15:22:42 +01:00
day18::run,
2020-12-20 17:29:42 +01:00
day19::run,
2020-12-20 22:33:42 +01:00
day20::run,
2020-12-21 18:42:12 +01:00
day21::run,
2020-12-22 13:08:35 +01:00
day22::run,
2020-12-23 23:58:34 +01:00
day23::run,
2020-12-24 15:10:48 +01:00
day24::run,
2020-12-25 22:08:55 +01:00
day25::run,
2020-12-06 12:43:48 +01:00
];
2020-12-01 16:34:25 +01:00
aoc::run(days)
}