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