aoc22
Solutions for Advent of Code 2022 in Rust (by morlinbrot)
AdventOfCode2022
My solutions to Advent of Code 2022 (by willkill07)
aoc22 | AdventOfCode2022 | |
---|---|---|
3 | 12 | |
0 | 9 | |
- | - | |
10.0 | 10.0 | |
over 1 year ago | over 1 year ago | |
Rust | C++ | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
aoc22
Posts with mentions or reviews of aoc22.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-11.
-
-🎄- 2022 Day 12 Solutions -🎄-
Here's just the interesting bit, full solution here. ``` fn dijkstra(unvisited: &mut Unvisited, start: Pos, end: Pos) -> Option { fn update_neighbor(unvisited: &mut Unvisited, cur: &Node, pos: Pos) { if let Some(neigh) = unvisited.get_mut(&(pos)) { // Steepness check. if neigh.val <= cur.val + 1 { neigh.dist = neigh.dist.min(cur.dist + 1.); } } }
-
-🎄- 2022 Day 9 Solutions -🎄-
Tiny little thing you could do to make this even more succinct: Use `abs()` on `dx` and `dy`, that's what I did!
-
-🎄- 2022 Day 5 Solutions -🎄-
HashMap for parsing stacks and Vec> for operations. Full code here.
AdventOfCode2022
Posts with mentions or reviews of AdventOfCode2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-20.
-
[2022 Day 21 Part 2][Python] Solution with Z3 is off by one.
Here's my implementation: https://github.com/willkill07/AdventOfCode2022/blob/main/other_languages/python/Day21.py
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 14 Solutions -🎄-
-
-🎄- 2022 Day 13 Solutions -🎄-
Header + Source
-
-🎄- 2022 Day 12 Solutions -🎄-
Source + Header
-
[2022 day 11][C] Benching Monkeys
On my AMD 5950X I have my code down to 1.7ms Source Header
-
-🎄- 2022 Day 10 Solutions -🎄-
Letter OCR Header --- Source --- Header
- -🎄- 2022 Day 9 Solutions -🎄-
-
-🎄- 2022 Day 5 Solutions -🎄-
Header file (defining types): https://github.com/willkill07/AdventOfCode2022/blob/main/days/Day05.hpp Source file: https://github.com/willkill07/AdventOfCode2022/blob/main/days/Day05.cpp
- -🎄- 2022 Day 3 Solutions -🎄-
What are some alternatives?
When comparing aoc22 and AdventOfCode2022 you can also consider the following projects:
Advent-of-Code
AdventOfCode
aoc - Advent of Code
advent-of-code-2022
advent_of_code_2022 - Advent of code 2022
aoc2022 - Advent of Code 2022 solutions in Lua!
AdventOfCode - Solutions for Advent Of Code problems (adventofcode.com)
noulith - *slaps roof of [programming language]* this bad boy can fit so much [syntax sugar] into it
aoc-2022 - Advent of Code 2022 in Rust
AoC2022
advent-of-code - Advent of Code solutions in JS
aoc_2022
aoc22 vs Advent-of-Code
AdventOfCode2022 vs AdventOfCode
aoc22 vs aoc
AdventOfCode2022 vs advent-of-code-2022
aoc22 vs advent_of_code_2022
AdventOfCode2022 vs aoc2022
AdventOfCode2022 vs AdventOfCode
AdventOfCode2022 vs noulith
AdventOfCode2022 vs aoc-2022
AdventOfCode2022 vs AoC2022
AdventOfCode2022 vs advent-of-code
AdventOfCode2022 vs aoc_2022