2022-12-08 15:15:42 +00:00
|
|
|
---
|
|
|
|
to: 2022/<%= day %>/part1.js
|
|
|
|
---
|
|
|
|
import * as R from "remeda";
|
|
|
|
|
2022-12-08 21:20:07 +00:00
|
|
|
import { readFile } from "../05/part1.js";
|
|
|
|
|
|
|
|
const readInput = (...args) =>
|
|
|
|
readFile(...args)
|
|
|
|
.split("\n")
|
|
|
|
.filter((x) => x);
|
|
|
|
|
|
|
|
export const puzzleInput = readInput(import.meta.url, "input");
|
|
|
|
export const sample = readInput(import.meta.url, "sample");
|
|
|
|
|
2022-12-08 15:15:42 +00:00
|
|
|
export default = () => {};
|