None

若将代码中的min(dp[i-1],dp[i-2])+cost[i-1]修改为dp[i-1]+cost[i-2],输入cost数组为{5,10,15}时,程序的输出为(    )

A

”10”

B

”15”

C

”20”

D

”25”

赣ICP备20007335号-2