For anyone who doesn’t know, advent of code is a series of coding challenges that happens every year. It’s made to be like an advent calendar, with one programming challenge released per day until Christmas. Something interesting about this is that since the challenges only need the output of the program, you can do it in any language you want. I thought it might be interesting to compare and discuss solutions (ideally spoilered in case anyone hasn’t completed the challenge yet).

Thoughts?

5 points
*

You would be interested in checking out advent_of_code@programming.dev

permalink
report
reply
3 points
*

Seems fun I’d love to give it a shot. I’d suggest though that we should do our own variant (if people are interested). Reason being that adventofcode.com requires people to identify themselves with 1 of 4 Imperial big tech websites (Github, Google, Twitter, Reddit) and skipping this step doesn’t seem to be an option.

permalink
report
reply
3 points

I can see why privacy would be an issue, although I’m not sure I’d be able to come up with a bunch of interesting code challenges for our own variant.

permalink
report
parent
reply

if it’s just text (I can’t check since it blocks Tor access), you can include it in your daily posts so we can avoid the site

permalink
report
parent
reply
3 points

I would be interested if the problems would be framed with all the exposition smit santas and gnomes and elves removed because I find it confusing. I don’t want anyone to waste their precious effort on that though lol.

permalink
report
reply
2 points

Sounds fun, I’ll probably participate when I have the time.

permalink
report
reply
1 point

@CannotSleep420@lemmygrad.ml Can you share your input and the answer for part 2? I can’t find the bug in my program.

permalink
report
reply
2 points

I haven’t solved it yet.

permalink
report
parent
reply
1 point

Oh okay. If you are struggling this comment helped me identify the bug: https://lemmygrad.ml/comment/3154084

permalink
report
parent
reply
2 points

I’m making progress, but I tend to be a perfectionist with these sorts of things.

permalink
report
parent
reply

Programming

!programming@lemmygrad.ml

Create post

Welcome to the Lemmygrad programming community! This is a space where programmers of all levels can discuss programming, ask for help with problems, and share their personal programming projects with others.


Rules

  1. Respect all users, regardless of their level of knowledge in programming. We’re here to learn and help each other improve.
  2. Keep posts relevant to programming and related topics.
  3. Respect people’s personal preferences. If you disagree with someone’s choice of programming language, method of formatting code, or anything else, don’t attack the poster. Genuine criticism is fine, but personal attacks are not.
  4. In order to promote breaks from typing, all code snippets must be photos of code written on paper.
    Just kidding :), please use proper markdown code blocks.

Community stats

  • 11

    Monthly active users

  • 30

    Posts

  • 97

    Comments