stelar7 / adventofcode2020-1

Community-project solving https://adventofcode.com/ - problems, with Github CI, Docker and support for many languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 52 2 1 3 4 4 3 2 2 2 2 2 2 2 2 2 2 2 2 1 1 2 2 2 2 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 123 12 8 9 11 10 10 7 6 5 4 4 4 3 4 4 4 3 3 2 1 2 2 2 2 1

Last updated: 2021-01-06 13:52: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

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 πŸ‘

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

Community-project solving https://adventofcode.com/ - problems, with Github CI, Docker and support for many languages.


Languages

Language:Python 33.4%Language:Standard ML 16.2%Language:TypeScript 12.0%Language:Zig 11.7%Language:Shell 8.4%Language:Go 6.6%Language:C 5.2%Language:JavaScript 2.2%Language:Makefile 1.3%Language:C++ 1.2%Language:Ruby 0.7%Language:Dockerfile 0.6%Language:Rust 0.4%Language:Java 0.2%Language:PHP 0.1%