Solve 2024-07

This commit is contained in:
2024-12-07 23:58:46 +01:00
parent 62baa825f2
commit 3bcb52f5a0
5 changed files with 102 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
import { join } from 'path';
import { solveFirst, solveSecond } from './index.ts';
const input = await Bun.file(join(__dirname, 'input.txt')).text();
const firstAnswer = solveFirst(input);
console.log(firstAnswer);
const secondAnswer = solveSecond(input);
console.log(secondAnswer);