mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-12-27 04:21:45 +00:00
init day 6
This commit is contained in:
parent
311b1e8d24
commit
bb3d362aba
8
Day6/Part1.js
Normal file
8
Day6/Part1.js
Normal 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
2
Day6/input.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Time: 58 81 96 76
|
||||||
|
Distance: 434 1041 2219 1218
|
Loading…
Reference in New Issue
Block a user