rusty-aoc
advent-of-code
rusty-aoc | advent-of-code | |
---|---|---|
7 | 13 | |
5 | 0 | |
- | - | |
8.8 | 8.8 | |
10 days ago | 3 months ago | |
Rust | C# | |
- | - |
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.
rusty-aoc
-
-โ๏ธ- 2023 Day 6 Solutions -โ๏ธ-
My rusty-aoc repo & today' solution here.
-
-๐- 2022 Day 25 Solutions -๐-
Got my 100th ๐ฆ rusty โญ๐ star ๐ โจ today for ๐ Xmas ๐ (my code) ๐. I had a rough time at first with converting SNAFU back to decimal so I first did things by hand (and a website to get numbers in base 5).
-
-๐- 2022 Day 21 Solutions -๐-
My rust code (43mn for part 1 ; +1h33 for part 2) with a topological sort thanks to the crate petgraph.
-
-๐- 2022 Day 19 Solutions -๐-
Rust, I used Linear Programming too, after I did not found reasonable pruning methods on the search tree. My code is there. I never did LP before, only heard of it, so yesterday was a long day!
-
-๐- 2022 Day 9 Solutions -๐-
Mine in rust too is there: https://github.com/Philippe-Cholet/rusty-aoc/blob/main/aoc2022/day09/src/lib.rs
-
Day 6 ~ Performant Solution?
I use itertools::Itertools which have a nice all_unique (internally, it creates a hashset and insert elements one by one unless it already contains it) but if I really wanted efficiency, I would manage my own hashset because this method is called for each character.
-
Does anybody else go back and "optimize" solutions?
Today, I rewrote it multiple times before I liked a version enough to commit it and push it to my repo. I probably won't rewrite it that many times in a few days once the problem is more "interesting".
advent-of-code
- -โ๏ธ- 2023 Day 4 Solutions -โ๏ธ-
-
[2017 Day 01 (Part 2)] [Commodore 64 Basic] Needed to peek and poke to get some performance
You can find my solution on advent-of-code/AdventOfCode2017/Day01 at main ยท messcheg/advent-of-code (github.com)
-
[2019 Day 14 Part 2] How did people run their fuel-calculating algorithms so quickly?
In F# its the method FuelInOre see: https://github.com/messcheg/advent-of-code/blob/main/AdventOfCode2019/Day14/Program.fs
-
[2022 Day 31][C#] continuing AOC in real life
After 1 hour and 35 minutes, I had a working C# program that uses a sort probabilistic hillclimbing algorithm to solve the problem in 170 miliseconds.
-
-๐- 2022 Day 25 Solutions -๐-
I also made functions to calculate with snafu-rules. I even didn't translate '=' and '-' to -2 and -1. I used C# to do that.
-
[2022 Day 16 (Part 2)] [C#] Can't work out why my code gives the wrong answer...
I have looked at other people's codes and still can't figure it out, eg https://github.com/messcheg/advent-of-code/blob/main/AdventOfCode2022/Day16/Program.cs which is very similar to mine (I think).
-
-๐- 2022 Day 17 Solutions -๐-
My code is in https://github.com/messcheg/advent-of-code/tree/main/AdventOfCode2022/Day17.
-
-๐- 2022 Day 16 Solutions -๐-
Made my solution in C# (https://github.com/messcheg/advent-of-code/tree/main/AdventOfCode2022/Day16) Took me a lot of time to make solution for part I (due to the fact that it's early in the morning here and I need to finish before the other life in my house starts..). But I spent only half-an-hour, to get the answer for part II. (Rank 3675 after part I, rank 1797 after part II).
-
[2022 Day 6 (Part I&II)][C# WPF] Trying to learn some WPF by making a visualization
The solution on: https://github.com/messcheg/advent-of-code
-
[2021 Day #6][C++] Advent Of Code 2021 โ Lanternfish โ Puzzle 6
I had a slightly different approach (in C#). Instead of copying the values, I just changed the index of the first group. I actually don't what would be faster: copying 9 values or performing two modulo operations. See https://github.com/messcheg/advent-of-code/tree/main/AdventOfCode2021/Day6
What are some alternatives?
advent-of-code - my attempt at advent of code
advent-of-code-2022-rust
aocd - Python solution for Advent of Code 2022
advent-of-code - My solutions to all years of Advent of Code
adventofcode - My solutions for https://adventofcode.com/ programming mini puzzles - written mostly as sjasmplus script (to exercise the tool and collect ideas for future development of the script language, not because it's a best choice for the task, quite opposite)
AdventOfCode2022 - Solutions to all 25 Advent of Code 2022 in Rust ๐ฆ Less than 100 lines per day, total runtime of less than 1 second.
advent-of-code-2022
AoC2022 - Solutions to Advent of Code 2022 puzzles.
adventofcode - my solutions to advent of code
adventofcode2022
AoC - my personal repo for the advent of code yearly challenge
advent-of-raku-2022 - 2022 Advent of Code solutions in the Raku programming language