Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xb01u/aoc2020

My solutions to 2020's Advent of Code: https://adventofcode.com/2020/about
https://github.com/0xb01u/aoc2020

advent-of-code advent-of-code-2020 aoc aoc2020 puzzle python python3

Last synced: about 1 month ago
JSON representation

My solutions to 2020's Advent of Code: https://adventofcode.com/2020/about

Awesome Lists containing this project

README

        

# Advent of Code 2020
My solutions to 2020's [Advent of Code](https://adventofcode.com/2020/about).

The solutions are provided in Python. Maybe someday I'll port them to Lua.

Each day has it's own `README.md` file with the corresponding puzzle's description, properly transformed into markdown, to ease the remembering and understanding of the solutions. Obviously, the creator of these puzzles and descriptions is [Eric Wastl](https://twitter.com/ericwastl).

Each program responsible for solving a puzzle also checks that the output generated is my own correct solution to that puzzle (which is hardcoded into the source code after solving the puzzle). This is done with an `assert` in the last (or second to last, if there's an `exit()`) line executed in the program. The programs also have some commented-out debug lines, or other explanations, to give some insight about how their development process went.

There were no specific objectives set for the solutions' code in terms of time, memory or code quality optimizations. Some solutions might had been developped trying to minimize the amount of lines of code (not bytes) of the resulting file, although this is not always the case.

~~I may or may not drop midway through the event. Puzzles completion is not guaranteed.~~