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 лет назад,
скрыть
#
|
0
An idea by maksay
→
Ответить
|
|
cgy4ever
|
17 лет назад,
скрыть
#
|
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.
→
Ответить
|