clean up the code a little more
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import fs from "node:fs";
|
||||
import { printTime, now } from "../util";
|
||||
|
||||
const data = fs.readFileSync("./inputs/input", "utf8");
|
||||
const test = false;
|
||||
|
||||
const data = fs.readFileSync(
|
||||
test ? "./inputs/testinput" : "./inputs/input",
|
||||
"utf8"
|
||||
);
|
||||
|
||||
let timer = now.instant();
|
||||
console.log(
|
||||
|
Reference in New Issue
Block a user