2023-12-02 00:39:37 +01:00
|
|
|
pub mod input;
|
|
|
|
|
|
|
|
pub mod one;
|
2023-12-02 12:29:28 +01:00
|
|
|
pub mod two;
|
2023-12-02 00:39:37 +01:00
|
|
|
|
|
|
|
use input::AdventError;
|
2023-12-02 12:29:28 +01:00
|
|
|
use one::{one_one, one_two};
|
|
|
|
use two::{two_one, two_two};
|
2023-12-02 00:39:37 +01:00
|
|
|
|
|
|
|
fn main() -> Result<(), AdventError> {
|
|
|
|
one_one()?;
|
2023-12-02 12:29:28 +01:00
|
|
|
one_two()?;
|
|
|
|
two_one()?;
|
|
|
|
Ok(two_two()?)
|
2023-12-02 00:39:37 +01:00
|
|
|
}
|