Solve 2024-22

This commit is contained in:
2024-12-22 14:54:10 +01:00
parent 4654e84d37
commit fd01ee545e
6 changed files with 142 additions and 4 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);