13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
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);
|