aboutsummaryrefslogtreecommitdiff
path: root/template/js/solve.js
diff options
context:
space:
mode:
Diffstat (limited to 'template/js/solve.js')
-rw-r--r--template/js/solve.js21
1 files changed, 21 insertions, 0 deletions
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");