摘要: Koko loves to eat bananas. There are N piles of bananas, the i-th pile has piles[i] bananas. The guards have gone and will come back in H hours. Koko 阅读全文
posted @ 2019-12-19 11:04 Schwifty 阅读(268) 评论(0) 推荐(0)
摘要: A conveyor belt has packages that must be shipped from one port to another within D days. The i-th package on the conveyor belt has a weight of weight 阅读全文
posted @ 2019-12-19 10:27 Schwifty 阅读(165) 评论(0) 推荐(0)
摘要: Given an array of integers nums and an integer threshold, we will choose a positive integer divisor and divide all the array by it and sum the result 阅读全文
posted @ 2019-12-19 09:35 Schwifty 阅读(560) 评论(0) 推荐(0)
摘要: There are n people whose IDs go from 0 to n - 1 and each person belongs exactly to one group. Given the array groupSizes of length n telling the group 阅读全文
posted @ 2019-12-19 08:00 Schwifty 阅读(304) 评论(0) 推荐(0)
摘要: Given an integer number n, return the difference between the product of its digits and the sum of its digits. Example 1: Input: n = 234 Output: 15 Exp 阅读全文
posted @ 2019-12-19 05:33 Schwifty 阅读(320) 评论(0) 推荐(0)