1
0

added script for new day

This commit is contained in:
2024-12-10 20:46:48 +01:00
parent 934dc5cb7f
commit 6946298ed7
4 changed files with 34 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
use std::fs::read_to_string;
pub fn day_main() {
let input = read_to_string("input/dayXX.txt").unwrap();
let input = read_to_string("input/day{{day}}.txt").unwrap();
let input = input.trim();
println!(" part1: {}", part1(input));
println!(" part2: {}", part2(input));