2020-12-01 18:12:30 +01:00
|
|
|
import fs from "fs";
|
|
|
|
|
|
|
|
/**
|
2020-12-16 12:02:17 +01:00
|
|
|
* Main function for Part 2
|
2020-12-01 18:12:30 +01:00
|
|
|
*
|
|
|
|
* @param {string} data - Puzzle input as a single string.
|
|
|
|
*/
|
|
|
|
async function main(data) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
fs.readFile("input", (err, data) => {
|
2020-12-16 12:02:17 +01:00
|
|
|
console.time("Part 2")
|
2020-12-01 18:12:30 +01:00
|
|
|
if (err) throw err;
|
|
|
|
main(data.toString()).then(console.log).catch(console.error);
|
2020-12-16 12:02:17 +01:00
|
|
|
console.timeEnd("Part 2")
|
2020-12-01 18:12:30 +01:00
|
|
|
});
|