diff --git a/Day6/Part1.js b/Day6/Part1.js new file mode 100644 index 0000000..3a620a8 --- /dev/null +++ b/Day6/Part1.js @@ -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`); diff --git a/Day6/input.txt b/Day6/input.txt new file mode 100644 index 0000000..27b64c4 --- /dev/null +++ b/Day6/input.txt @@ -0,0 +1,2 @@ +Time: 58 81 96 76 +Distance: 434 1041 2219 1218