AdventOfCode.Template
advent-of-code
Our great sponsors
AdventOfCode.Template | advent-of-code | |
---|---|---|
5 | 34 | |
37 | 29 | |
- | - | |
4.1 | 5.6 | |
5 months ago | 4 months ago | |
C# | Python | |
MIT License | - |
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.Template
-
From Script to Scaffold in F#
Earlier this year, I wrote about scripting and automation in VSCode using typescript as part of an ongoing project to reduce time consuming repetitive actions in my professional life. So this seemed like a perfect opportunity to do something similar at a more targeted domain space. Additionally, I'd seen a few examples of AOC runners floating around (pre-built libraries and templates that come with hope to help streamline the mechanics of participating in AOC). There are a few solutions in the .NET ecosystem, but they're all in C#!
-
[C#] [.NET] AoCHelper: Benchmark/framework library + template
You can use it 'as-is', or start from this template to better understand how it works 😊
-
[2021] Big Inputs for Advent of Code 2021 Puzzles
I didn't really care about executing times, but using C# I ran into array size limits which made me switch to my approach. I'm using eduherminio/AdventOfCode solver framework which returns 0.5ms as a result, which I'm pretty sure is not correct tough. Adding a stopwatch to the executing method returns 3ms. Hope that helps.
-
I am doing Advent of Code in C# using the new .NET 6 this year. Hope others will join the journey.
Great, me too! Check out this c# template on github for an easy way to manage the problems
- [C#] [.NET] Repo template and library to measure performance
advent-of-code
-
-❄️- 2023 Day 11 Solutions -❄️-
[LANGUAGE: Python 3] 153/75 Raw solution
-
-❄️- 2023 Day 10 Solutions -❄️-
One could instead count |F7 (that's what I do in my refactored solution), but counting all the bends would miscount the vertical segments (FJ would end up canceling itself out).
-
-❄️- 2023 Day 8 Solutions -❄️-
That sounds like what I suggested here, actually. I don't have anything in my library with quite the right API yet, but I already have most of what you describe coded out. (It looks like I whipped it up for 2017 Day 13.)
-
-❄️- 2023 Day 7 Solutions -❄️-
[LANGUAGE: Python 3] Embarrassing/Embarrassing Ugly raw solution code
-
-❄️- 2023 Day 6 Solutions -❄️-
[LANGUAGE: Python 3] 66/101 Raw solution code
-
-🎄- 2022 Day 22 Solutions -🎄-
Python 3 21/12
-
-🎄- 2022 Day 20 Solutions -🎄-
It doesn't, but you can use a separate list, wrapper classes, and deque.index to find where the values live. I may be biased but I think that my solution (ultimately using deque) isn't as complex as a custom linked list.
-
-🎄- 2022 Day 19 Solutions -🎄-
Part 2 assumes you did part 1 properly. I did not! I'm pretty sure that the intended solution is to do a sort of reverse search (have a target number of geodes and work backwards to see if that's possible to achieve) but I was just not having success coming up with a way to do that. It's probably going to be blindingly obvious once I figure it out, but that might be an exercise for tomorrow.
-
-🎄- 2022 Day 15 Solutions -🎄-
Python 3 9/15!!!
-
-🎄- 2022 Day 14 Solutions -🎄-
Python 3 44/45
What are some alternatives?
AdventOfCode2020 - My solutions for Advent Of Code 2020
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
AoCHelper - Helper .NET library for solving Advent of Code puzzles
advent-of-code-2022 - advent of code 2022
AoC2021.NET6 - My solutions for Advent of Code 2021. Written in C# using .NET 6's top-level statements and implicit usings with a focus on using new .NET 6 features and LINQ.
advent_of_code
AdventOfCodeDayTemplate - The template for dotnet CLI for AdventOfCode day solution.
slushy - Advent of Code 2022 in Rust
adventofcode2020 - Python solutions to https://adventofcode.com/2020
LEARN__Coding-Practices-and-Datastructures - Daily Coding Practices, Data structures, otherwise testing and some stuff. (Some garbage/some stuff)
advent-of-code-2021 - Solutions to Advent of Code 2021
Advent-of-Code-2022 - My solutions for the 2022 Advent of Code in a mix of MATLAB and Python3