cstutoringcenter.com logo
E-mail:Password:

Become a premier member today to gain access to exclusive
member benefits! Just $5.00 to join FOR LIFE!






Your Ad Here

Problem  15
Random Dice Throws

Bookmark and Share

Given an input file of 3000 random dice throws, (here: dice.txt) calculate how many doubles were rolled.

It is known for this problem that each die are fair in that they are labeled with the numbers 1,2,3,4,5 and 6. It is also known that a double is defined as both dice showing the same number after they are rolled.


**Register or login to submit the answer & earn 25 rewards points!
(or 50 if you're a premium member)!**

Total solved
204 members
Click here to see them!
Date added
2008-09-11
Leader Board
View it here