Solve 01
This commit is contained in:
commit
1911fae77d
8 changed files with 655 additions and 0 deletions
22
template.rs
Normal file
22
template.rs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
use aoc::*;
|
||||
|
||||
const INPUT: &str = include_str!("../../input/DAY");
|
||||
|
||||
fn main() {
|
||||
println!("Part 1: {}", part1(INPUT));
|
||||
println!("Part 2: {}", part2(INPUT));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn example() {
|
||||
assert_example!(part1, "DAY-test", 0);
|
||||
assert_example!(part2, "DAY-test", 0);
|
||||
}
|
||||
|
||||
fn part1(input: &str) -> usize {
|
||||
0
|
||||
}
|
||||
|
||||
fn part2(input: &str) -> usize {
|
||||
0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue