#aoc23 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #aoc23, aggregated by home.social.
-
AoC23 be like: “Part 1 works, I think I did a pretty good job at making this efficient”. Part 2: "Nope” #AdventOfCode #aoc2023 #aoc23 #aoc
-
@c_discussions 🤦♂️
And here I was thinking vectors and ranges were overkill for #aoc23 Day 1, Part 1, but little did I know the possibilities.
-
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'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'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.
-
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 -
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 -
Nice to see many #cpp solutions to Advent of Code #aoc23. Seeing many solutions use actual files for input, and either cram lots of test cases into a single file, or use several input files, here's a possible improvement:
Create and reuse std::instringstream for all test data without creating actual files. Plus with this approach you can more easily use online IDEs like Compiler Explorer because no files. 🤓
Again just a tip. YMMV. Happy coding. #aoc2023
CE template: https://sigcpp.godbolt.org/z/TeTzrMcdc
-
I don't do Advent of Code, but browsing a few #cpp solutions to Day 1, Part 1, I fear I misunderstand the problem, or I just don't know enough C++. I'm not sure why the solution requires vectors, ranges, algorithms, etc. when it can be done in a single pass over the input stream.
Maybe others' solutions are that way due to Part 2? But more likely I'm doing something wrong. 😨
#Spoiler: Image reveals solution (edit: condense)
-
Are there hashtags to follow #aoc23 posts for *specific languages*, something like #aoc23_cpp and #aoc23_python?
There're simply too many posts to follow the main hashtag.
🙏
-
CW: AoC, day 1.
Also I probably should have used #AoC23 and #AdventOfCode hashtags.
-
Oh my God it's almost time for advent of code! #adventofcode #aoc2023 #aoc23