[algogeeks] Re: Graph Problem

2007-05-17 Thread billdoors
When will your algorithm stop ? It is unlikely to reverse only once and get the optimal. On May 17, 4:07 am, pramod <[EMAIL PROTECTED]> wrote: > Ohh, sorry to have missed that information. Consider minimizing the > maximum out-degree. > > On May 16, 5:04 pm, "Rajiv Mathews" <[EMAIL PROTECTED]> wr

[algogeeks] Re: Graph Problem

2007-05-17 Thread pramod
Ohh, sorry to have missed that information. Consider minimizing the maximum out-degree. On May 16, 5:04 pm, "Rajiv Mathews" <[EMAIL PROTECTED]> wrote: > Could you please explain the question. > > Typically in a directed graph we talk of in-degree and out-degree for > a vertex. So is the questio

[algogeeks] Re: acm problem : i need help

2007-05-17 Thread mirchi
the code is running perfectly on my box... i am using dev c++. there is no stack overflow problem.. On May 17, 8:09 am, Ray <[EMAIL PROTECTED]> wrote: > Hi mirchi, > > Do you test N = 16, H = 8? > > It gives stack overflow when I run your program on my box. > > I wrote a small one. May it help yo

[algogeeks] Re: random number generator

2007-05-17 Thread [EMAIL PROTECTED]
Monu Rathour wrote: > i worked in *visual studio 8*,and there is a function *rand()* to generate > random numbers. > But now i have to work on *visual studio 6*, is there any such function? rand() is the function provided by the standard C library (stdlib), so as long as you're using an ANSI C