Title: 腾讯&leetcode875:爱吃香蕉的珂珂 · Issue #109 · sisterAn/JavaScript-Algorithms · GitHub
Open Graph Title: 腾讯&leetcode875:爱吃香蕉的珂珂 · Issue #109 · sisterAn/JavaScript-Algorithms
X Title: 腾讯&leetcode875:爱吃香蕉的珂珂 · Issue #109 · sisterAn/JavaScript-Algorithms
Description: 珂珂喜欢吃香蕉。这里有 N 堆香蕉,第 i 堆中有 piles[i] 根香蕉。警卫已经离开了,将在 H 小时后回来。 珂珂可以决定她吃香蕉的速度 K (单位:根/小时)。每个小时,她将会选择一堆香蕉,从中吃掉 K 根。如果这堆香蕉少于 K 根,她将吃掉这堆的所有香蕉,然后这一小时内不会再吃更多的香蕉。 珂珂喜欢慢慢吃,但仍然想在警卫回来前吃掉所有的香蕉。 返回她可以在 H 小时内吃掉所有香蕉的最小速度 K(K 为整数)。 示例 1: 输入: piles = [3,6,7...
Open Graph Description: 珂珂喜欢吃香蕉。这里有 N 堆香蕉,第 i 堆中有 piles[i] 根香蕉。警卫已经离开了,将在 H 小时后回来。 珂珂可以决定她吃香蕉的速度 K (单位:根/小时)。每个小时,她将会选择一堆香蕉,从中吃掉 K 根。如果这堆香蕉少于 K 根,她将吃掉这堆的所有香蕉,然后这一小时内不会再吃更多的香蕉。 珂珂喜欢慢慢吃,但仍然想在警卫回来前吃掉所有的香蕉。 返回她可以在 H 小时内吃掉所有香蕉...
X Description: 珂珂喜欢吃香蕉。这里有 N 堆香蕉,第 i 堆中有 piles[i] 根香蕉。警卫已经离开了,将在 H 小时后回来。 珂珂可以决定她吃香蕉的速度 K (单位:根/小时)。每个小时,她将会选择一堆香蕉,从中吃掉 K 根。如果这堆香蕉少于 K 根,她将吃掉这堆的所有香蕉,然后这一小时内不会再吃更多的香蕉。 珂珂喜欢慢慢吃,但仍然想在警卫回来前吃掉所有的香蕉。 返回她可以在 H 小时内吃掉所有香蕉...
Opengraph URL: https://github.com/sisterAn/JavaScript-Algorithms/issues/109
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"腾讯\u0026leetcode875:爱吃香蕉的珂珂","articleBody":"珂珂喜欢吃香蕉。这里有 `N` 堆香蕉,第 `i` 堆中有 `piles[i]` 根香蕉。警卫已经离开了,将在 `H` 小时后回来。\r\n\r\n珂珂可以决定她吃香蕉的速度 `K` (单位:根/小时)。每个小时,她将会选择一堆香蕉,从中吃掉 `K` 根。如果这堆香蕉少于 `K` 根,她将吃掉这堆的所有香蕉,然后这一小时内不会再吃更多的香蕉。 \r\n\r\n珂珂喜欢慢慢吃,但仍然想在警卫回来前吃掉所有的香蕉。\r\n\r\n返回她可以在 `H` 小时内吃掉所有香蕉的最小速度 `K`(K 为整数)。\r\n\r\n**示例 1:**\r\n\r\n```\r\n输入: piles = [3,6,7,11], H = 8\r\n输出: 4\r\n```\r\n\r\n**示例 2:**\r\n\r\n```js\r\n输入: piles = [30,11,23,4,20], H = 5\r\n输出: 30\r\n```\r\n\r\n**示例 3:**\r\n\r\n```js\r\n输入: piles = [30,11,23,4,20], H = 6\r\n输出: 23\r\n```\r\n\r\n\r\n**提示:**\r\n\r\n- `1 \u003c= piles.length \u003c= 10^4`\r\n- `piles.length \u003c= H \u003c= 10^9`\r\n- `1 \u003c= piles[i] \u003c= 10^9`\r\n\r\n附赠leetcode地址:[leetcode](https://leetcode-cn.com/problems/koko-eating-bananas/solution/ai-chi-xiang-jiao-de-ke-ke-by-user7746o/)","author":{"url":"https://github.com/sisterAn","@type":"Person","name":"sisterAn"},"datePublished":"2020-09-18T00:11:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/109/JavaScript-Algorithms/issues/109"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:096c742e-1959-215e-af6a-5d2c25f96eb3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB98:338071:17BE938:20E35FA:696AA0B8 |
| html-safe-nonce | 0213cbaf3ae46cba45d2b73124a6d422ec3e1626cfaf4770913e82102d1177c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjk4OjMzODA3MToxN0JFOTM4OjIwRTM1RkE6Njk2QUEwQjgiLCJ2aXNpdG9yX2lkIjoiMTE2NTE1MDQxMjEzODUyMDc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f3d0c028f43852c93dd0432e55b14a1650dad5233998ecf2f8e02456ef77f146 |
| hovercard-subject-tag | issue:703988108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sisterAn/JavaScript-Algorithms/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05e393e431cdbf201cb54ceb03323154f283cf8b8ab156d0a015f61e697bcd40/sisterAn/JavaScript-Algorithms/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05e393e431cdbf201cb54ceb03323154f283cf8b8ab156d0a015f61e697bcd40/sisterAn/JavaScript-Algorithms/issues/109 |
| og:image:alt | 珂珂喜欢吃香蕉。这里有 N 堆香蕉,第 i 堆中有 piles[i] 根香蕉。警卫已经离开了,将在 H 小时后回来。 珂珂可以决定她吃香蕉的速度 K (单位:根/小时)。每个小时,她将会选择一堆香蕉,从中吃掉 K 根。如果这堆香蕉少于 K 根,她将吃掉这堆的所有香蕉,然后这一小时内不会再吃更多的香蕉。 珂珂喜欢慢慢吃,但仍然想在警卫回来前吃掉所有的香蕉。 返回她可以在 H 小时内吃掉所有香蕉... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sisterAn |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| go-import | github.com/sisterAn/JavaScript-Algorithms git https://github.com/sisterAn/JavaScript-Algorithms.git |
| octolytics-dimension-user_id | 19721451 |
| octolytics-dimension-user_login | sisterAn |
| octolytics-dimension-repository_id | 252061924 |
| octolytics-dimension-repository_nwo | sisterAn/JavaScript-Algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 252061924 |
| octolytics-dimension-repository_network_root_nwo | sisterAn/JavaScript-Algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width