#28299: 把所有幣值乘以20倍就可以用整數解了


dwouowk87@gmail.com (dwOuOwK87桂花茶)


int coins[] = { 1,2,4,10,20,40,100,200,400,1000,2000 };

剩下的就用動態規劃解題