adventOfCode
adventofcode
adventOfCode | adventofcode | |
---|---|---|
10 | 69 | |
3 | 14 | |
- | - | |
7.7 | 8.3 | |
5 months ago | 9 days ago | |
C++ | Python | |
GNU General Public License v3.0 only | - |
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
-
How to generate X random integers whose sum is 100
src
- [2022 Day 22 (Part 1)] Solution works only for the sample input (C++)
-
-🎄- 2022 Day 23 Solutions -🎄-
Part 1
-
-🎄- 2022 Day 20 Solutions -🎄-
Note: The last bug that got me for part 2, for some reason, was the special case of when the node to be mixed was already in the beginning, and n<0. The same method seems to produce the correct result for part 1, but when comparing the step-by-step output to 2.OUT (split in 2.OUT.1 and 2.OUT.2 because GitHub) I get a big diff. But since the final result is still correct, I will backlog it, for now.
-
[2022 Day 15 (Part 1)] My code works correctly (I think) only for the sample input.
src: https://github.com/osalbahr/adventOfCode/blob/main/problems/day15/day15.cpp
- -🎄- 2022 Day 13 Solutions -🎄-
- -🎄- 2022 Day 9 Solutions -🎄-
-
How do you people solve AoC tasks? fast and sloppy or slow and steady. Why or why not?
A little of both (Shameless plug: https://github.com/osalbahr/adventOfCode)
-
[META] Impossible to search for C solutions
This crowdsourced might be useful to find solutions in the language you want more easily! I do mine mostly in C++ and I know a fair amount of C so feel free to let me know if you have any questions.
-
-🎄- 2022 Day 1 Solutions -🎄-
Solved in C++ https://github.com/osalbahr/adventOfCode Feel free to ask any questions! You can find more C++ solutions (and other languages) here: https://github.com/Bogdanp/awesome-advent-of-code#c-2
adventofcode
-
[2023 Day 04 (Part 2)][Python] Need help with recursion
I tried to model my code https://github.com/djotaku/adventofcode/blob/6c5d9c6e4f2dcbbbf7383b2923829c210faab028/2023/Day_04/Python/day_04.py (specifically lines 42-56) on my solution for Handy Haversacks in 2020 Day 7, but I'm ending up with an answer of 1 instead of 30. It seems like the problem is that my totals are not carrying up the stack, but I may have something else wrong.
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
- [2022 Day 18 (Part 1)][Python] What is wrong with my math?
- [2022 Day 15 (Part 1)] [Python] Need help with my algorithm
- -🎄- 2022 Day 14 Solutions -🎄-
-
-🎄- 2022 Day 13 Solutions -🎄-
My code is here https://github.com/djotaku/adventofcode/blob/66d74babd2ed37f56858096bc5598149448b6839/2022/Day_13/Python/solution.py
- [2016 Day 25 (Part 1)][Python] I keep getting 00000 or 111111
- -🎄- 2022 Day 12 Solutions -🎄-
- -🎄- 2022 Day 11 Solutions -🎄-
What are some alternatives?
AoC2022 - My solutions to the Advent of Code 2022
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
adventofcode - adventofcode.com solutions
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - Advent of Code challenge solutions
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
AoC - my personal repo for the advent of code yearly challenge
toit - Program your microcontrollers in a fast and robust high-level language.
advent-of-rust - Solutions to the Advent of Code challenges in Rust!
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#