摘要: func giveChange() { //币值 kind := [5] int{1,2,5,10,20} //总金额 money := 20 arr := [5] int{} //递归实现 collocation(arr, money, kind, 0) } /* arr 记录组合情况 money 阅读全文
posted @ 2021-02-07 17:39 陆何方 阅读(190) 评论(0) 推荐(0)