this post was submitted on 11 Dec 2024
27 points (93.5% liked)

Advent Of Code

920 readers
2 users here now

An unofficial home for the advent of code community on programming.dev!

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.

AoC 2024

Solution Threads

M T W T F S S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25

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
 
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago

Its really comforting to know i'm not alone, but this one really made me feel smooth brained

[–] VegOwOtenks 4 points 1 month ago

I had my code run all the time while I coded up the solution for the second part, needless to say, it wouldn't finish.

[–] Anticorp 3 points 1 month ago (1 children)

Your original point aside, that curse could make someone immensely wealthy. Right? Look how much gold it created in like 30 seconds. Just cast it on something valuable, and then cleanse the curse after you have mountains of gold. Or does cleansing the curse remove all of the duplicates?

[–] [email protected] 3 points 1 month ago (1 children)

If I recall correctly they disappear after a while.

[–] Anticorp 2 points 1 month ago

Ah, so it would have to be a quick scam. But thah wouldn't work since everyone in the magic world knows everyone else. Although it seems that they can be overtly evil and nobody will do anything, as long as they have money, so a quick scam might just work.