init day 6

This commit is contained in:
Baipyrus 2023-12-08 09:37:26 +01:00
parent 311b1e8d24
commit bb3d362aba
2 changed files with 10 additions and 0 deletions

8
Day6/Part1.js Normal file
View File

@ -0,0 +1,8 @@
import { readFileSync } from "fs";
const t0 = performance.now();
const input = readFileSync("input.txt").toString();
console.log(input);
const t1 = performance.now();
console.log(`Runtime: ${t1 - t0}ms`);

2
Day6/input.txt Normal file
View File

@ -0,0 +1,2 @@
Time: 58 81 96 76
Distance: 434 1041 2219 1218