I edited the post, hopefully its visible now. Here it is just in case:
I edited the post, hopefully its visible now. Here it is just in case:
Im on mobile I’ll try and re post it when I get home
That is impressive, I think it took me more than 30 seconds to get the regex I wanted to use correct, more or less the rest of the solution. This is my first time doing AoC or anything like it so I wasn’t expecting to be anywhere near the top, but the times I saw there were shocking.
Ah yeah, if you can only submit once every 30 seconds or something that would defeat the ability to binary search, at least at the speeds that people were submitting today.
Thinking about it a little more, the answer is a number, and the site tells you if you are too high or too low, so a modification of a binary search might be the answer? I’m not sure if there is a submission limit but if there isnt then that could result in a fast submission.
Say the answer is 400 and you guess 100, the site tells you it is too low, you guess 1000, the site tells you its too high, now you know its between 100 and 1000, so you can narrow it down with a guess in the middle until you get to the answer. With some automation this would be pretty quick but it would defeat the point of the challenge.
There is speculation that the 2024 election was rigged and it was the most recent election so I would expect that there would be more recent posts about it than the 2020 election.
Example: https://lemm.ee/pictrs/image/85d8ac97-7ebe-48ba-8582-a1078511594f.png