Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Re: Re: Guess the number

by chip_creep (Acolyte)
on Feb 24, 2004 at 04:14 UTC ( #331300=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Re: Guess the number
in thread Guess the number

Dude! i tried a variation of this and it did the same thing...
It prints it out $tries times then spits out the answer...

What do a plum and an elephant heve in common??

Look Ma, no hands!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://331300]
[oiskuu]: Discipulus, from the edge or from the top?
[Discipulus]: oiskuu from the top aka 0-0 coords
[LanX]: edge or node?
[oiskuu]: from each height difference, there's a fixed number of "moves right" - "moves left". So it's a number of combinations.
[Discipulus]: I already know how much distinct paths exists but to demonstrate the property i want to have them all
[oiskuu]: ie C(n, k); where n is height difference, k is position in the line
[Discipulus]: infact there are 70 distinct path to reach the tale wich holds 70
[Discipulus]: what i want is to compute them

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2018-03-19 11:03 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.