No, you are wrong it should be 2. Since M is 0, every number must be equal, so only deletion and value changing will work. There are several ways with cost 2
On 5月22日, 上午11時43分, 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 Solutionshttp://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]. > For more options, visit this group > athttp://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.
