Re: [algogeeks] Download Full Movies Hot Type +18

2010-07-05 Thread chetan thorat
Shame on u man..


On 4 July 2010 21:48,   wrote:
> Download Full Movies  Hot Type +18
>
> http://bit.ly/cWhJJk
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to 
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] c output

2010-06-11 Thread chetan thorat
The return value of printf is the number of characters it prints successfully.
So the rightmost printf is going to return 2 (one for char c and one
for new line), similarly second one returning 6.

Regards,
Chetan.


On 11 June 2010 00:56, divya  wrote:
> #include 
> main()
> {
>  int a = 1;
>  char b='c';
>  int i,j;
>
>  printf("%d,%d",printf("%d\n",a),printf("%c\n",b));
>
> wat shd b the o/p of this..plzz explain y?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to 
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Re: probabiltiy + DP

2009-09-24 Thread chetan thorat

On 23/09/2009, vicky  wrote:
>
> @ Minjie Zha ,
> hey, how does these things clicks to u , as i thought it for 2 hrs.
> and still couldn't find a completely correct sol..
>
> On Sep 19, 2:04 pm, Minjie Zha  wrote:
>> Oh yes, I made a mistake.
>> Your are right.
>>
>> On Sep 18, 12:02 am, ashish gupta  wrote:
>>
>>
>>
>> > i think there might be some modification
>>
>> > On Thu, Sep 17, 2009 at 4:17 PM, Minjie Zha  wrote:
>>
>> > > Let PH(j,w) be the probability of getting w heads from 1...j coins,
>> > > 0<=j<=k, 0<=w<=k.
>> > > So we have:
>> > > PH(0,0) = 1
>>
>> >  PH( j, w ) = 0  if w< 0
>>
>> > > PH(0,w) = 0 for w>0
>> > > PH(j,0) = (1-P(1))(1-P(2))...(1-P(j))
>>
>> > > PH(j,w) = PH(j-1,w) + PH(j-1,w-1)PH(j)
>>
>> > and equation should be
>> > PH(j, w)  = PH(j-1,w) (1-P(j)) + PH( j-1, w-1) PH(j)
>>
>> > pls correct if i am wrong...
>>
>> > --
>> > ashish
>>
>> > > Any comments?
>>
>> > > On Sep 9, 5:50 pm, Nagendra Kumar  wrote:
>> > > > @all:
>> > > >           There are k baised coins with probabilty of coming head is
>> > > > P(i)  i = 1 to k.  If all these coins are  tossed together. find the
>> > > > probabilty of getting i heads ( i < = k).
>> > > >    think in Dynamic Programming.
>> > > > -Nagendra
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/algogeeks
-~--~~~~--~~--~--~---