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 #168: Dice Game - Born to Solve

rishi_data_expert
7 - Meteor

168.png

BransonJamesFarley
8 - Asteroid
Spoiler
challenge 168.PNG

ebostwick
8 - Asteroid

Interesting challenge. Thanks! Looking forward to seeing how the experts did it...

Spoiler
challenge_168_SolutionSpoiler_EDB.png

chadev_ccorp
8 - Asteroid
Spoiler
168a.JPG

 

Desafios Foundation: 11/11‌‌‌‌
Desafios Core: 34/40
Desafios Intermediário: 1
Prep Guide Micro-Credential: 11/18

cmoussa
8 - Asteroid

WF.png

 

pclane
8 - Asteroid

Went with a simple approach, as I'm using these challenges to study for the Core Cert, but look forward to playing around with the more advanced tools others used to solve this challenge in the future

MWiechmann
6 - Meteoroid

Interesting challenge!

 

Spoiler
Since we only have 3 dice rolls, we can solve this by just using MAX, MEDIAN and MIN. For more rolls we obv would need a different approach

Screenshot 2025-01-24 135928.png
jfissel
8 - Asteroid
Spoiler
challenge_168_jfissel.png
robbinrv
8 - Asteroid
Spoiler
image.png
robbinrv
8 - Asteroid
Spoiler
image.png