this post was submitted on 03 Dec 2024
21 points (100.0% liked)

Advent Of Code

1199 readers
4 users here now

An unofficial home for the advent of code community on programming.dev! Other challenges are also welcome!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

Everybody Codes is another collection of programming puzzles with seasonal events.

EC 2025

AoC 2025

Solution Threads

M T W T F S S
1 2 3 4 5 6 7
8 9 10 11 12

Visualisations Megathread

Rules/Guidelines

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

founded 2 years ago
MODERATORS
 

I was looking through the global leader board for day 3 today and noticed that the first 100 results are all under 90 seconds, with the top 4 being under 30 seconds. How is that possible? What are people leveraging in order to accomplish this?

you are viewing a single comment's thread
view the rest of the comments
[–] UndercoverUlrikHD@programming.dev 9 points 1 year ago (1 children)

I haven't had time for the AoC yet, but if it's like last year, there are rate limits that would make binary search ineffective.

[–] The_Shwa@midwest.social 1 points 1 year ago (1 children)

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.

The timeouts become greater the more times you submit an incorrect answer