home.social

#aoc23_cpp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #aoc23_cpp, aggregated by home.social.

  1. 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)

    adventofcode.com/2023/day/1

    #aoc23 #aoc23_cpp #AdventOfCode #programming

  2. 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.

    🙏

    #adventofcode #aoc2023