1
0

Replace filename const by sanitise() function

This commit is contained in:
Stefan Müller
2025-12-08 17:07:34 +01:00
parent 449e7f75ac
commit c03eca490e
6 changed files with 27 additions and 14 deletions
-1
View File
@@ -7,7 +7,6 @@ pub struct TrashCompactor {}
impl Solver for TrashCompactor {
const PUZZLE_INDEX: u8 = 6;
const PUZZLE_NAME: &'static str = "Trash Compactor";
const INPUT_FILENAME: &'static str = "trash_compactor.txt";
fn process_data<R: BufRead>(&self, reader: R) -> (u64, u64) {
let mut part1 = 0;