1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
data = require("fs").readFileSync("input", "utf8").split("\n"); function part1() { res = 0 return res } function part2() { res = 0 return res } const tic = performance.now(); console.log(part1()); console.log(part2()); const toc = performance.now(); console.log("TIME: " + ((toc - tic) / 1000).toFixed(6) + " seconds");