that should be (a+b+abs(a-b))/2

On Sun, Feb 6, 2011 at 4:15 PM, Manmeet Singh <mans.aus...@gmail.com> wrote:
> test case : a = -1, b = - 1
> Result : fight successfully challenged dave's problem. Method returned 1
> while it shud have returned -1.
>
> On Sun, Feb 6, 2011 at 4:12 PM, Balaji S <balaji.ceg...@gmail.com> wrote:
>>
>> thanks..
>>
>>
>> --
>> balaji.... ;-)
>>
>> --
>> 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?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 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?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 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?hl=en.

Reply via email to