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

25 lines
402 B
Rust
Raw Normal View History

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