So.....what's the idea behind this problem? I know is greedy, but could someone shed some light on this? Thx in advance.
|
daftcoder
|
17 years ago,
hide
#
|
0
An idea by maksay
→
Reply
|
|
cgy4ever
|
17 years ago,
hide
#
|
0
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.
→
Reply
|