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-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-06 12:43:48 +01:00
|
|
|
];
|
2020-12-01 16:34:25 +01:00
|
|
|
|
|
|
|
aoc::run(days)
|
|
|
|
}
|