From ed341f7f190cec49d0c3d6353f63234ce5b58bef Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 13 Dec 2021 16:07:52 +0100 Subject: ez --- template/js/solve.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 template/js/solve.js (limited to 'template/js/solve.js') diff --git a/template/js/solve.js b/template/js/solve.js new file mode 100644 index 0000000..8a7ed0c --- /dev/null +++ b/template/js/solve.js @@ -0,0 +1,21 @@ +const { _, performance } = require("perf_hooks"); +const fs = require("fs"); +const data = fs.readFileSync("input", "utf8"); + +function part_one() { + let res = 0; + + return res; +} + +function part_two() { + let res = 0; + + return res; +} + +const tic = performance.now(); +console.log(part_one()); +console.log(part_two()); +const toc = performance.now(); +console.log("TIME: " + ((toc - tic) / 1000).toFixed(6) + " seconds"); -- cgit v1.2.3