AoC-23/Day7/Part1.js

18 lines
299 B
JavaScript
Raw Normal View History

2023-12-08 10:49:03 +00:00
import { readFileSync } from "fs";
const t0 = performance.now();
2023-12-08 19:34:34 +00:00
const patterns = [
"abcde",
"aabcd",
"aabbc",
"aaabc",
"aaabb",
"aaaab",
"aaaaa",
];
2023-12-08 10:49:03 +00:00
const input = readFileSync("input.txt").toString();
console.log(input);
const t1 = performance.now();
console.log(`Runtime: ${t1 - t0}ms`);