Day 24 part 1 solution.
Broken day 23 part 2. Moved debug_println into lib.rs.
This commit is contained in:
@@ -13,7 +13,8 @@ pub mod day2;
|
||||
//pub mod day20;
|
||||
pub mod day21;
|
||||
pub mod day22;
|
||||
pub mod day23;
|
||||
//pub mod day23;
|
||||
pub mod day24;
|
||||
pub mod day3;
|
||||
pub mod day4;
|
||||
pub mod day5;
|
||||
@@ -24,4 +25,14 @@ pub mod day9;
|
||||
|
||||
use aoc_runner_derive::aoc_lib;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! debug_print{
|
||||
($($arg:tt)*) => (#[cfg(debug_assertions)] print!($($arg)*));
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! debug_println {
|
||||
($($arg:tt)*) => (#[cfg(debug_assertions)] println!($($arg)*));
|
||||
}
|
||||
|
||||
aoc_lib! { year = 2020 }
|
||||
|
||||
Reference in New Issue
Block a user