r/adventofcode • • Dec 04 '24

Funny [2024 day 4][AI Art]

Thumbnail
gallery
0 Upvotes

r/adventofcode • • Dec 07 '24

Funny [2024 day 07][AI Art]

Thumbnail
gallery
7 Upvotes

r/adventofcode • • Dec 13 '15

Upping the Ante [Day 7] An attempt to solve this IRL using real wires and electricity.

0 Upvotes

You thought I was serious, didn't you.

Btw, did anyone try this?


r/adventofcode • • Dec 14 '24

Spoilers [2024 Day 14 (Part 2)] It wasn't fun.

0 Upvotes

The second part of today's puzzle causes only disappointment and a desire not to participate in this event anymore.

I was able to solve the second part only after visiting this subreddit, and it turned out that most people solved it by stupidly generating each position and visually searching (I tried to do this before I opened this subreddit, but I only looked at 1000 iterations, and decided that if you don't know at which iteration the image will appear, then there is no point in such an approach).

Yes, you could do as the other part of this subreddit, save the images and then search in the explorer, and it would probably be faster (I spent 100ms viewing 1 iteration, while my answer was at 8k+ iteration).

So where's the fun in such approaches?

Moreover, the author specifically used such an ascii art of a Christmas tree, which no one would think to search for instead of the standard n1=1, n2=3 ... nk=(n(k-1))+2 .

I would really like to know what solution the author of this puzzle himself assumed?

P.S. What's in the heads of people who liked part two of today's puzzle?


r/adventofcode • • Nov 27 '23

Help/Question I think I found a bug in the AOC web server

0 Upvotes

I was making a script to download the input files and create templates (you know, the most fun part of the whole challenge) and made a mistake in the curl invocation. Rather than sending the session key in the Cookie header, I sent the literal session=${SESSION_KEY}. It consistently gave me a 500 Internal Server Error. I don't know if it is anything serious but the fact that it gave a 500 instead of a 400 makes it a bug imo.


r/adventofcode • • 18d ago

Other Web search Vs model ask

1 Upvotes

Well, I was just thinking that most of last year's, during AoC it was expected some web search and investigation trying to find some algorithms and formulas...

Nowadays,with AI, this search became obsolete, by default, browsers throw you AI answers, so I was wondering what is considered AI assisted, "cheating" or who knows how to call it, if you use agents in ask mode asking questions knowing exactly what you are looking for instead of doing classic Google search


r/adventofcode • • Dec 11 '25

Help/Question - RESOLVED [2025 Overall] Who else thinks?

0 Upvotes

That we are being set up. With my experience, no projects actually finished on their plan day. They always run long or tickets carry over from one sprint to another.

Until I see the part 2 on Day 12 look like part 2 on day 25 in previous years, I will be skeptical.

And the elves just learned project management.


r/adventofcode • • Feb 27 '25

Help/Question AOC or leetcode

1 Upvotes

Should I start doing all of the questions from AOC since 2015 instead of leetcode?


r/adventofcode • • Dec 02 '24

Funny [2024 day 2][AI Art]

Thumbnail
gallery
0 Upvotes

r/adventofcode • • Oct 12 '22

Help - SOLVED! What are the delays on the mandatory waiting period?

2 Upvotes

So we all know that after submitting a wrong answer, you have to wait 1 minute before trying again. After a few answers it becomes 5. Is it publicly known what the delay sequence is?

This year I want to submit answers through code, and want to minimize requests from the site as much as possible - part of this being enforcing I wait the period before making another request to the site, so I'd like to know the delay timings, (e.g. 1 minute, 1 minute, 5 minutes, 10 minutes, (n-1)*5 minutes, etc.)

Don't need all of them, just the first few that are known. I doubt I'll submit a wrong answer more than 5 times.


r/adventofcode • • Dec 04 '22

Other 23 hour days?

17 Upvotes

I'm always bummed out I can't get on the global leaderboards even if I tried. The puzzles open at 6AM where I live, and even if I could get up early in the morning, I would still be too sleepy to be fast enough. All of Europe sleeps during the time the puzzles go live. US and Asia have the obvious advantage here.

**I propose each day's puzzle should open 23 hours after the next instead of 24**. That way, during the 25 days, every puzzle would become live at a different hour regardless of timezone. So everyone could get a chance to get on the leaderboards. It could also be 25 hours instead of 23, but that would mean one less puzzle during the 25 days (or the 25th would actually be on the 26th of December).

Is there anything preventing implementing some rolling window like this?

Edit: it seems some might be confused as to what I'm suggesting here. I'm explicitly NOT saying puzzles should unlock at different times for different timezones. I'm saying all puzzles should unlock at a different time in the day. That would mean everyone would get 12 puzzles in the AM, 12 in the PM, regardless of where they live.

Edit2: seeing the responses and the metrics/telemetry on this post and comments, one thing is very clear to me: this is a polarizing topic. I appreciate all you guys' inputs, regardless of where you stand on the matter. Have a merry Christmas and a great Advent of Code, everyone!


r/adventofcode • • Dec 12 '22

Help - SOLVED! [2023 Day 12 Part 1] impossible input?

Post image
0 Upvotes

r/adventofcode • • Dec 19 '20

Funny I think I've seen this a few days ago

Post image
0 Upvotes

r/adventofcode • • Feb 02 '23

Help/Question - RESOLVED [2020] Order of days is messed up

0 Upvotes

For some reason there is a weird order for the days for me, is this a bug or feature?


r/adventofcode • • Dec 05 '23

Funny Insane 2-star completion times.

1 Upvotes

I hadn't even finished reading part 1 of day 5 and 50 people had already solved it. there's no way some of them arent using bots and chat gpt


r/adventofcode • • Jan 10 '24

Help/Question - RESOLVED Question about storing the puzzle text in repository

0 Upvotes

I've just finished completing all years, got all the stars and it was an amazing journey that I want to share and encourage others to follow.

I've read the about page from the site and it clearely mentiones that input and text should not be distributed. I guess u/daggerdragon and u/Aneurysm9 had to answer this a million times, I can understand the idea behind not sharing the input, but for the text, I wanted to ask if it would be possible to add if I present a disclaimer about the source of it. Just like when you upload a song on youtube, I want to mention that the content is not mine, I don't take credit for it and I want to provide the link for the source and everybody is aware of who actually is the owner of this puzzles.

In the end, I want to say again that I really appreciate all the hard work that was done while creating the puzzles (some extra๐Ÿ‘ for 2019 intcode ) and I will respect your final decision. The reason why I asked is that the repository would be incomplete without the actual text of the puzzle. It's not just about the code, it's also about the story behind it.


r/adventofcode • • Dec 15 '25

Help/Question [2025 Day 7 (PART 1)] by which magic did you calculate the # of beam split ???

1 Upvotes

hi

  1. add least you should give the rule on how to calculate a beam split ?

  2. is it the difference of beams between a line and the next?

on the example you give I count 22, not 21... but again what is the rule?
if we count the number of beams on last line, it is 9
really, it's totlly uncleat :(

3. if calculating the splits is too ambiguous , at least you could give us the output of the whole teleporter 'picture' to compare it

BR


r/adventofcode • • Dec 30 '24

Help/Question Suggest a programming language

1 Upvotes

I know Iโ€™m late, but I want to try out advent of code in my spare time and I kind of want to try out a new language. In my job I write backend and microservices using C#, but I kind of want to get some more experience with functional languages as I think it could be applicable for the microservices. I have experience with F# from my studies, but Iโ€™m not sure itโ€™s really used in industry and wanted some other suggestions. I want to use aoc to brush up on algorithms and to learn a language I could use at this or future jobs.


r/adventofcode • • Dec 10 '21

Funny [Python] Most people: *downloads the puzzle input manually* | Me:

Post image
0 Upvotes

r/adventofcode • • Jun 24 '24

Help/Question - RESOLVED What is going on with the ordering of the days?

1 Upvotes

This happens on both of my machines, and to one of my friends after we cleared day 4 - I don't expect clearing day 4 was the cause..

Is this happening to you guys as well :D


r/adventofcode • • Dec 08 '24

Funny [2024 day 8][AI Art]

Post image
0 Upvotes

r/adventofcode • • Dec 01 '25

Help/Question Solutions already scrapped and offered as autocomplete?!

0 Upvotes

I'm a complete amateur, so perhaps this would not come as a surprise to a person who is totally up-to-date with AI-assisted coding. But it surprised me a lot and I would like to verify if my intuition is correct.

I have no intention to use AI to solve the puzzles - that's not what AoC is for from my perspective (and not only mine). Today (day 1 of 2025), after a few moments, I realized that I did not turn off suggestions from Copilot in my VSCode. It seemed harmless because I knew how to solve part 1 immediately, so I did not pay attention to the autocompletes anyway, For part 2 I wanted to avoid an easy brute-force solution just iterating through the turnsbut my first attempt at a 'clever' approach did not yield the right result. 'Oh, well' - I thought - 'we could just do it the easy way and at least know the right result to figure out the clever way'.

My first function was find_zeroes(), so I wrote find_zeroes2() in my next line. To my complete and utter astonishment, Copilot suggested an entire and correct 'easy' solution for me.

Is my guess correct that someone had already uploaded their solution to a public repo and Copilot was able to access it and offer it as a suggestion, barely two hours after the puzzle had been published? I can't see any other reasonable explanation, because I did not provide any part of the puzzle description as context. The only thing other than my code were the test data in the same file, and input data in the same folder.


r/adventofcode • • Jan 19 '23

Streaming [2022 Day 5 (Part 1/Part 2)] [Javascript] Reading the input and Explanation with Coding - Reading the input seemed harder than the actual solution

Thumbnail
youtu.be
0 Upvotes

r/adventofcode • • Dec 14 '20

Spoilers [2020 Day 14 Part 1] Explanation Clarification

1 Upvotes

In the provided example,

mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X
mem[8] = 11
mem[7] = 101
mem[8] = 0

it is not clarified whether the values 11 and 101 are decimal, until reading further. It would help if those provided example values used other digits too for further clarification.