And the rest is silence.
And the rest is silence.
Well I've made it through Day 22 of Advent of Code. The difficulty sure ramps up. Reminds me of good times back in the winters of 2020/2021 that I spent doing the brutally difficult abstract algebra set of Cryptopals. I'm simultaneously happy to use my code puzzling muscles and relieved this kind of stuff isn't my day job. #adventofcode23
#adventofcode #adventofcode23 #adventofcode2023
Finaly had time and energy to finish day 5 part 2
It runs in 0.05 second, with python
Now the retro
TLDR
Do not code when you are tired and its after midnight
(1/3)
I haven’t done #AdventOfCode23 ever. I’m not even mildly interested in it either. But kudos to those that diligently complete the challenges.
I just completed "Scratchcards" - Day 4 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/4
https://github.com/Paxtian769/AOC23-Day4-scratchcards/blob/master/main.cpp
#AdventOfCode #adventofcode23 #adventofcode2023 #programming #cpp
I've completed "Camel Cards" - Day 7 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/7
#aoc #aoc23 #AdventOfCode23 #aoc2023 #AdventOfCode2023 #aoc_cpp
I just completed "Gear Ratios" - Day 3 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/3
https://github.com/Paxtian769/AOC23-Day3-gear_ratios/blob/master/main.cpp
This one was frustrating.
#adventofcode #AOC2023 #adventofcode23 Day 2 my solution, SPOILERS:
https://github.com/Paxtian769/AOC23-Day2-cube_conundrum/blob/main/main.cpp
#adventofcode #adventofcode23 day 3 part 2 is exhausting. I feel like there must be a better way than my brute force attack. SO MANY CASES!
Once again I learn I will go to incredibly great lengths to avoid solving the quadratic equation.
I've completed "Wait For It" - Day 6 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/6
#aoc #AdventOfCode23 #aoc23 #aoc_cpp
solving day 3 of advent of code
looping through 2D-arrays and matrices always messes me up...
Alright, enough of this "enjoying my free time with video games."
Time to focus on #AdventofCode23 (which I also enjoy)
Did day 1 of #AdventOfCode23 this afternoon. I was pleasantly surprised to find others had gone for the same kind of messy-but-works approach to part 2. Was convinced there'd be an "obvious" built in method I didn't know about.
Leider habe ich zu wenig Zeit, aber die erste Aufgabe beim #adventofcode mache ich immer gerne in der #bash 5 auf dem Smartphone und Termux:
```bash
echo $(($(cat input.txt | sed -e "s/^[^0-9]*\([0-9]\).*\([0-9]\)[^0-9]*$/\1\2/g" -e "s/^[^0-9]*\([0-9]\)[^0-9]*$/\1\1/g" | tr '\n' '+') 0))
```