Following along the daily challenges until 25th of Dec 2020.
Link to challenge: AdventOfCode.com
Recent NodeJS installation.
Each user will get the same challenge as all other users but the data used in the challenge for computing the solution is different for each user.
You need to register in the challenge to get your own input data in order for the code to run.
You can run the code for solving the challenge by following these steps:
- Place the data provided to you by the challenge in
data/day#.txt
where#
is the day number (make sure theEnd-of-Line
character isLF
and notCRLF
orCR
). - Run the script for that day using the command
node day#.js
where#
is the day number. - You will get a two lines of output. The first line is the solution for part 1, the second line for part 2.