No. You are trying to make all numbers to have the same value, but you can't do that by just adding nem numbers. You'd need to remove two of them for that, so the answer would be 2.
On Sat, May 22, 2010 at 12:43 AM, Qasim Zeeshan <[email protected]>wrote: > What would be output against this test case? > 1 0 0 3 > 1 3 2 > > My output was zero, am I right? > > -- > Qasim Zeeshan > PUCIT, PU Alumni '04 > Software Engineer > Confiz Solutions > http://qzeeshan.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-code%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-codejam" 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/google-code?hl=en.
