Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Josh-Cena/aoc2020

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020

You first need to start the virtual environment:

python3.9 -m venv aoc2020-env
source aoc2020-env/bin/activate

The only dependencies are numpy and tqdm.

This repo uses my standard AoC setup. Inputs are stored as inputs/day{n}/{name}.txt. By default name is real (the real question). To run a specific day's solution, use the following command:

python -m aoc2020 {day} {part} {name}

For example, to run the solution for day 1, part 2 with the example input:

python -m aoc2020 1 2 ex

(And make sure that inputs/day1/ex.txt exists.)

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.