trulo_17's blog

By trulo_17, 16 years ago, In English
So.....what's the idea behind this problem? I know is greedy, but could someone shed some light on this? Thx in advance.
  • Vote: I like it
  • 0
  • Vote: I do not like it

16 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
16 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
Problem C is just a DP problem.
It's clear that the number will change to T that T = x[i].
If not , we can make less changes.