adventofcode
aoc2021
adventofcode | aoc2021 | |
---|---|---|
2 | 5 | |
31 | 1 | |
- | - | |
6.3 | 0.0 | |
5 months ago | over 2 years ago | |
Python | OCaml | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
adventofcode
-
-🎄- 2021 Day 2 Solutions -🎄-
Python 3 - Minimal readable solution for both parts [GitHub] import fileinput aim, h, d = 0, 0, 0 for l in fileinput.input(): cmd, x = l.strip().split(" ") x = int(x) if cmd == "down": aim += x elif cmd == "up": aim -= x else: h += x; d += aim * x # cmd == "forward" print(h * aim) print(h * d)
-
-🎄- 2021 Day 1 Solutions -🎄-
Python 3 - Minimal readable solution for both parts [GitHub]
aoc2021
-
-🎄- 2021 Day 6 Solutions -🎄-
OCaml solution:
-
-🎄- 2021 Day 5 Solutions -🎄-
OCaml solution for the first part:
-
-🎄- 2021 Day 1 Solutions -🎄-
OCaml solutions using Core.
What are some alternatives?
advent-of-code - i know how to code now! here's my advent of code solutions that i can be somewhat proud of
Advent_of_Code_2021_Solutions_Java - Personal AoC/2021 Solutions in Java
advent-of-code - Advent of Code, solved with Python, Rust, Magma, GAP
Advent-of-code - My solutions of adventofcode.com
advent-of-code - Challenges for Advent of Code (https://adventofcode.com).
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
AoC-2021-rust
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
BQN - An APL-like programming language. Self-hosted!
AdventOfCode-Haskell - adventOfCode :: Haskell