impl day 2 + simplification, woops implemented the wrong pattern checker
This commit is contained in:
parent
f33dda8916
commit
4fba52d596
4 changed files with 50 additions and 10 deletions
4
main.ts
4
main.ts
|
|
@ -13,7 +13,9 @@ const solvables: Solvable[] = [];
|
|||
|
||||
// only solve the latest day
|
||||
console.log("Solving latest day only:")
|
||||
const day = solvables.toReversed()[0];
|
||||
const day = solvables[0];
|
||||
console.log(day)
|
||||
|
||||
day.part1()
|
||||
day.part2()
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue