Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #168: Dice Game - Born to Solve

jbrowne02
6 - Meteoroid

I attended this session at the conference so I had a head start but here is my solution.

Ladarthur
13 - Pulsar
13 - Pulsar

My solution, funny one 🙂 

JORGE4900
8 - Asteroid

I could not arrive at the same conclusion on the output; here is why.

 

I calculate there are (6*6*6) = 216 possible permutations; however, there are only 180 where Dice1 is greater than Dice2 or Dice 2 is greater than Dice 1, which is the same as Dice1 != Dice2. The mode of those 180 calculations is 7 and happens 12 times.

 

Where did I go wrong?

 

Spoiler
2019-06-17_11-56-19.jpg
pasccout
8 - Asteroid

Fun challenge!

phottovy
11 - Bolide

Got "Inspire"d by the conference and here is my first submission for a weekly challenge.

JohnJPS
15 - Aurora

Fun stuff. I had a brain seizure along the way and found the expected value first.

Spoiler
image.png
Ckaralis
6 - Meteoroid

Here is my solution.

 

I tried to keep in simple...

 

 

Jbrooks
7 - Meteor

Fun challenge

Spoiler
2019-06-17_13-23-39.png

 

Inactive User
Not applicable

This was my first weekly challenge after hearing about it at Inspire - so fun!

Greg_Murray
12 - Quasar
Spoiler
Capture.PNG

My solution.