No. M == 0 so you MUST use either deletion or substitution to make smoothed array composed of all same numbers. - Lev.
On Fri, May 21, 2010 at 11:43 PM, 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.
