Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #291: A Winning Halloween Candy Basket

ue0pte
7 - Meteor

Happy Halloween ...... challenge 291 attached 👻

JITHINPR
8 - Asteroid

mySolution

SunderlandHughes
6 - Meteoroid

Happy Halloween from the UK!

 

Spoiler
SunderlandHughes_0-1635170002286.png

 

balajilolla
8 - Asteroid
Spoiler
Solution Attached

balajilolla_0-1635170091193.png

 

dYoast
11 - Bolide

Time to go shopping.

 

Spoiler
dYoast_0-1635171850373.png

 

danespoors
8 - Asteroid

Nice easy challenge. A fun little scenario too 🙂

hs0egr
7 - Meteor

Happy Halloween! 🕸

Spoiler
hs0egr_0-1635241579167.png

 

mikemotter
8 - Asteroid

The only part of this I didn't like was how I did the joins at the end to make it look like the output. Anyone have any suggestions to make it look better?

Spoiler
CandyShot.PNG

Happy Hallowen !

barnap03
8 - Asteroid

Here's my solution:

Spoiler
barnap03_0-1635176945692.png