mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>你是一位施工队的工长,根据设计师的要求准备为一套设计风格独特的房子进行室内装修。</p>\n\n<p>房子的客厅大小为 <code>n</code> x <code>m</code>,为保持极简的风格,需要使用尽可能少的 <strong>正方形</strong> 瓷砖来铺盖地面。</p>\n\n<p>假设正方形瓷砖的规格不限,边长都是整数。</p>\n\n<p>请你帮设计师计算一下,最少需要用到多少块方形瓷砖?</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<p><img alt=\"\" src=\"https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2019/10/25/sample_11_1592.png\" style=\"height: 106px; width: 154px;\"></p>\n\n<pre><strong>输入:</strong>n = 2, m = 3\n<strong>输出:</strong>3\n<code><strong>解释:</strong>3</code> 块地砖就可以铺满卧室。\n<code> 2</code> 块 <code>1x1 地砖</code>\n<code> 1</code> 块 <code>2x2 地砖</code></pre>\n\n<p><strong>示例 2:</strong></p>\n\n<p><img alt=\"\" src=\"https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2019/10/25/sample_22_1592.png\" style=\"height: 126px; width: 224px;\"></p>\n\n<pre><strong>输入:</strong>n = 5, m = 8\n<strong>输出:</strong>5\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<p><img alt=\"\" src=\"https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2019/10/25/sample_33_1592.png\" style=\"height: 189px; width: 224px;\"></p>\n\n<pre><strong>输入:</strong>n = 11, m = 13\n<strong>输出:</strong>6\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= n <= 13</code></li>\n\t<li><code>1 <= m <= 13</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 78,
|
||||
"likes": 80,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 2894, \"totalSubmissionRaw\": 5828, \"acRate\": \"49.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"3K\", \"totalSubmission\": \"5.9K\", \"totalAcceptedRaw\": 2967, \"totalSubmissionRaw\": 5941, \"acRate\": \"49.9%\"}",
|
||||
"hints": [
|
||||
"Can you use backtracking to solve this problem ?.",
|
||||
"Suppose you've placed a bunch of squares. Where is the natural spot to place the next square ?.",
|
||||
|
Reference in New Issue
Block a user