Skip to content

Latest commit

 

History

History

2024

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Advent of Code 2024

Code puzzle implementations for the Advent of Code 2024. Last year was pretty funny, so I'm solving the puzzles with TypeScript again.

As a prerequisite, you need to globally install ts-node:

npm install -g ts-node

You can run a puzzle by executing the following command in the specific folder:

ts-node puzzle.ts

If you want to run against the sample input, you can execute the following command:

ts-node puzzle.ts -- sample

Input Data

It's not allowed to share the input data. Therefore, you have to copy the input data from the website and add them to the folder of the specific day:

  • Real input into input.txt
  • Sample input into sample.txt

Some puzzles have different sample data for part 1 and 2. For this puzzles, you need to put the data into sample1.txt and sample2.txt.