mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-12-27 04:21:45 +00:00
created template for easy setup
This commit is contained in:
parent
ee4aabf3a0
commit
311b1e8d24
8
template.js
Normal file
8
template.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { readFileSync } from "fs";
|
||||||
|
const t0 = performance.now();
|
||||||
|
|
||||||
|
const input = readFileSync("input.txt").toString();
|
||||||
|
console.log(input);
|
||||||
|
|
||||||
|
const t1 = performance.now();
|
||||||
|
console.log(`Runtime: ${t1 - t0}ms`);
|
Loading…
Reference in New Issue
Block a user