mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-11-14 01:33:50 +00:00
d7p1 pattern lookup
This commit is contained in:
parent
2c26c8135a
commit
167b259c9f
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user