Arxcis / adventofcode2020

Community-project solving https://adventofcode.com/ - problems, with Github CI, Docker and support for many languages.
6 stars 8 forks source link

adventofcode2020 🕯️ 🎄 ⛄

Welcome to this community project, where we collaboratively solve https://adventofcode.com/.

CI test status

examples 2021 2020

Github CI runs the <year>/<day>/test.sh for each day. Example: 2020/day01/test.sh

Solved days by language

Language Total 2020 2021
python3 28 25 3
sml 19 19
deno.ts 15 15
rust 14 1 13
zig 11 9 2
golang 8 8
c 6 6
node.js 4 4
c++ 2 2
ruby 2 2

Last updated: 2021-12-18

See all languages we support in our Dockerfile.

Run make versions to see installed language versions in the docker-container.

CONTRIBUTING.md

Fork today! Anyone is encouraged to contribute, and as a contributor you may do whatever you want with this code. Treat it as your own :+1:

Contributors

A special thanks to the developers over at Maritime Optima :ship: - https://github.com/orgs/MaritimeOptima/people - volunteering to support this project :pray:

Also a big thanks to the rest of our contributors :tada:

Leaderboard

Contributors are welcomed to join our private leaderboard :sunglasses: Use the join code 376961-8a514359 at https://adventofcode.com/2020/leaderboard/private

Sharing

If you enjoy working on this project, consider sharing it with your friends. The more the merrier :santa:

Getting started

Test solutions on your system

$ ./lang/rust.sh "2020/day01/solutions/day01.rs" "2020/day01/io/*"
cat INPUT | rustc    day01.rs                662ms      ✅

Test inside docker container

# Test everything:
make

# Test year:
make name=2021

# Test day:
make name=2021/day01