d7p1 pattern lookup

This commit is contained in:
Baipyrus 2023-12-08 20:34:34 +01:00
parent 2c26c8135a
commit 167b259c9f

View File

@ -1,6 +1,15 @@
import { readFileSync } from "fs"; import { readFileSync } from "fs";
const t0 = performance.now(); const t0 = performance.now();
const patterns = [
"abcde",
"aabcd",
"aabbc",
"aaabc",
"aaabb",
"aaaab",
"aaaaa",
];
const input = readFileSync("input.txt").toString(); const input = readFileSync("input.txt").toString();
console.log(input); console.log(input);