应该是先获得最优优惠价格,再考虑优惠券数量最少。不然先考虑优惠券数量最少,怎么得到最优优惠价格?输出应该是: 57 7 140 8 313 9 [https://datawhalechina.github.io/huawei-od-python/#/choice100/042_Online-mall-promotions-1?id=_042-%e7%bd%91%e4%b8%8a%e5%95%86%e5%9f%8e%e4%bc%98%e6%83%a0%e6%b4%bb%e5%8a%a8%ef%bc%88%e4%b8%80%ef%bc%89](url)