Skip to content

tromai/advent_of_code_2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains my solution to Advent of Code 2021. Note that they are not polished (yet).

In each day:

  • main.py: the script to solve the problem. It is mostly run as python3 main.py <input_file>
  • input.txt: the official input for that day.
  • smol.txt: the smaller example input for that day.

Prepare Python virtual environment (Tested on Python3.13.3)

python3.13 -m venv .venv
. .venv/bin/activate

To run all day with sample/smol input:

python3 main.py -s src -input smol

To run all day with full input:

python3 main.py -s src -input full

To run some days but not others:

python3 main.py -s src -input full 1 2 3 4 5 6

The command above will run only Day 1 -> 6.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages