aoc-2021
Advent_of_Code_in_Pascal
Our great sponsors
aoc-2021 | Advent_of_Code_in_Pascal | |
---|---|---|
5 | 23 | |
56 | 8 | |
- | - | |
5.3 | 0.0 | |
over 2 years ago | over 1 year ago | |
Rust | Pascal | |
- | - |
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.
aoc-2021
-
Any tips for writing performant Rust during AoC?
Yeah, mine was 12ms on a laptop (link).
-
Optimal algo for 2021 Day 19?
Mine runs in 1ms (in rust, single thread) but is fairly complicated (link).
-
Speeding up Dijkstra by a factor of 2700
In this particular problem, all edge weights are 1..=9, so you can have a O(1) priority queue (fixed-bound bucket queue) if you make use of that fact.
(example: https://github.com/aldanor/aoc-2021/blob/master/src/day15/mo...)
-
AoC 2021 highly-optimized solutions in Rust (17ms total)
Here's the source code in Rust for anyone interested: https://github.com/aldanor/aoc-2021.
-
-🎄- 2021 Day 3 Solutions -🎄-
link
Advent_of_Code_in_Pascal
-
Advent of Code 2022
I'm doing it in Lazarus/Free Pascal again.
https://github.com/mikewarot/Advent_of_Code_in_Pascal
-
-🎄- 2021 Day 22 Solutions -🎄-
Free Pascal - 2251/1744 34.5 seconds runtime No objects, no recursion After brute forcing part 1, I stared at part 2 until I though only handling the different values of X,Y,Z and letting the grid represent variable size cubes.. only to hit memory size limits anyway... and then I learned how to use BITPACKED array, and was able to eventually brute force part 2. Whew!
-
-🎄- 2021 Day 21 Solutions -🎄-
Pascal 2235/4609
-
-🎄- 2021 Day 18 Solutions -🎄-
Pascal - Github
-
-🎄- 2021 Day 16 Solutions -🎄-
Pascal 7079/6330 - github
-
-🎄- 2021 Day 15 Solutions -🎄-
Github - https://github.com/mikewarot/Advent_of_Code_in_Pascal/blob/master/2021/advent2021_15b.lpr
-
day 13 result issue, someone can help?
My pascal based solver eventually got valid text out of your input.
- -🎄- 2021 Day 13 Solutions -🎄-
-
-🎄- 2021 Day 9 Solutions -🎄-
Pascal 2437/6187
-
-🎄- 2021 Day 8 Solutions -🎄-
Pascal 3590/5744
What are some alternatives?
mORMot2 - OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
aoc2020 - Advent of Code 2020 - my answers
advent-of-code - My solutions for Advent of Code
aoc-2020 - Advent of Code 2020
advent-of-code-2020 - 🎅🌟❄️☃️🎄🎁
Advent-of-Code - Advent of Code
advent-of-code-2020 - Answers and solutions for Advent of Code 2020.
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
advent-of-code-2021 - My solutions for the "Advent of Code 2021"
AoC-2021-rust
aoc - 🎄 My solutions and walkthroughs for Advent of Code and more related stuff.
ruby - The Ruby Programming Language