Skip to content

Collaboratively solve the 2020 edition of https://adventofcode.com/, and test the solutions using Github CI.

Notifications You must be signed in to change notification settings

MaritimeOptima/adventofcode2020

 
 

Repository files navigation

adventofcode2020 🕯️ 🎄 ⛄

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

Solutions per language per day

Language Total 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
python3 40 2 1 3 4 4 3 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
sml 19 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
deno.ts 15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
golang 13 2 2 2 1 2 2 1 1
zig 9 1 1 1 1 1 1 1 1 1
c 6 1 1 1 1 1 1
node.js 4 1 1 1 1
c++ 2 1 1
ruby 2 1 1
rust 1 1
bash 0
php 0
Total 111 12 8 9 11 10 10 7 6 5 4 3 3 2 3 3 3 2 2 2 1 1 1 1 1 1

Last updated: 2020-12-25 23:32:00Z

See all languages we support in our Dockerfile.

Run make versions or make docker.versions to see language versions.

Github CI status

day-01 day-02 day-03 day-04 day-05 day-06 day-07 day-08 day-09 day-10 day-11 day-12 day-13 day-14 day-15 day-16 day-17 day-18 day-19 day-20 day-21 day-22 day-23 day-24 day-25 day-00-example

Github CI runs the days/<day>/test.sh for each day. Example: days/day-01/test.sh

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 👍

Contributors

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

Also a big thanks to the rest of our contributors 🎉

Leaderboard

Contributors are welcomed to join our private leaderboard 😎 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 🎅

Getting started

Test individual solutions

$ ./lang/rust.sh "days/day-01/solutions/day01.rs" "days/day-01/io/*"
cat INPUT | rustc    day01.rs                662ms      ✅

Test one or more days

// Run tests inside docker container
make docker.example
make docker.day01
make docker.all

// Run tests directly on your system
make test.example
make test.day01
make test.all

Demo

asciicast

About

Collaboratively solve the 2020 edition of https://adventofcode.com/, and test the solutions using Github CI.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 27.8%
  • Standard ML 17.6%
  • TypeScript 13.0%
  • Zig 12.7%
  • Shell 9.1%
  • Go 7.1%
  • Other 12.7%