Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #168: Dice Game - Born to Solve

Highlighted
Meteoroid

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

Highlighted
Quasar
Quasar

My solution, funny one :) 

Highlighted
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
Highlighted
Asteroid

Fun challenge!

Highlighted
Asteroid

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

Highlighted
ACE Emeritus
ACE Emeritus

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

Spoiler
image.png
Highlighted
Meteoroid

Here is my solution.

 

I tried to keep in simple...

 

 

Meteor

Fun challenge

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

 

Highlighted

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

Highlighted
Fireball
Spoiler
Capture.PNG

My solution.