Q2: Dragons Swim in Four Seas
作業資訊
題目敘述
輸入說明
共有五個參數,依序說明如下:輸出說明
一個整數,代表最便宜的買法需要多少錢。Sample Input
5, 30, [[10, 1, 70], [15, 2, 130], [4, 1, 45]], 20, 20Sample Output
675提示與注意事項
def get_best_price(a_price, b_price, combos, a_num, b_num): pass if __name__ == '__main__': pass