small mistake change a to b
if( (a[i1-1]+b[j2-1] > a[i1]+b[j1]) &&  (a[i1-1]+a[j2-1] > a[i1]+b[j1]) )

surender
On Mon, Jul 11, 2011 at 3:54 PM, DK <[email protected]> wrote:

> @surender: Your algo fails. See the counterexample posted by Sunny.
>
> --
> DK
>
> http://twitter.com/divyekapoor
> http://www.divye.in
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/algogeeks/-/ITTX48LIzcUJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to