codeshaker's blog

By codeshaker, 10 years ago, In English

cant figure out the recursive relation to solve it..thnx

problem link : http://www.spoj.com/problems/MSTICK/

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By codeshaker, 10 years ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

By codeshaker, 10 years ago, In English

I have a problem in which we have an array of numbers and we have to make it strictly increasing by making zero or more changes to the array elements.

We are asked the minimum number of changes required to make the array strictly increasing.

problem link : http://www.codechef.com/SMHT2014/problems/SMHTD

Thanks!!!

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it