Example 1
1 <= n <= 1040 <= discount <= 1001 <= products.length <= 200prices.length == products.length1 <= products[i] <= 2001 <= prices[i] <= 1000The elements in products are unique.1 <= product.length <= products.lengthamount.length == product.lengthproduct[j] exists in products.1 <= amount[j] <= 1000The elements of product are unique.At most 1000 calls will be made to getBill.Answers within 10-5 of the actual value will be accepted.Example 1
1 <= n <= 1040 <= discount <= 1001 <= products.length <= 200prices.length == products.length1 <= products[i] <= 2001 <= prices[i] <= 1000The elements in products are unique.1 <= product.length <= products.lengthamount.length == product.lengthproduct[j] exists in products.1 <= amount[j] <= 1000The elements of product are unique.At most 1000 calls will be made to getBill.Answers within 10-5 of the actual value will be accepted.