We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d924f3 commit defadfcCopy full SHA for defadfc
python/0875-koko-eating-bananas.py
@@ -8,7 +8,7 @@ def minEatingSpeed(self, piles: List[int], h: int) -> int:
8
9
totalTime = 0
10
for p in piles:
11
- totalTime += math.ceil(p / k)
+ totalTime += math.ceil(float(p) / k)
12
if totalTime <= h:
13
res = k
14
r = k - 1
0 commit comments