Jump to content

Welcome to BrainDen.com - Brain Teasers Forum

Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account.
As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends.

Of course, you can also enjoy our collection of amazing optical illusions and cool math games.

If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top.
If you have a website, we would appreciate a little link to BrainDen.

Thanks and enjoy the Den :-)
Guest Message by DevFuse

- - - - -

Random Number API - Part 1...

Best Answer witzar , 06 August 2013 - 02:47 PM

Spoiler for

Go to the full post

  • Please log in to reply
11 replies to this topic

#11 phil1882


    Senior Member

  • Members
  • PipPipPipPip
  • 551 posts

Posted 07 August 2013 - 05:32 AM

Spoiler for 3

  • 0

#12 Anza Power

Anza Power

    Junior Member

  • Members
  • PipPip
  • 80 posts

Posted 07 August 2013 - 08:31 PM

Spoiler for 3


In practice yeah that would be the best solution since the probability of running forever goes to 0 exponentially fast.


However the question here is: can you guarantee the number of "dice throws" you need beforehand? 

  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users