mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part4
This commit is contained in:
68
算法题(国内版)/originData/[no content]warehouse-manager.json
Normal file
68
算法题(国内版)/originData/[no content]warehouse-manager.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1718",
|
||||
"questionFrontendId": "1571",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 400825,
|
||||
"title": "Warehouse Manager",
|
||||
"titleSlug": "warehouse-manager",
|
||||
"content": null,
|
||||
"translatedTitle": "仓库经理",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Easy",
|
||||
"likes": 6,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"4.4K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 4385, \"totalSubmissionRaw\": 5753, \"acRate\": \"76.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\": {\"Warehouse\": [\"name\", \"product_id\", \"units\"], \"Products\": [\"product_id\", \"product_name\", \"Width\", \"Length\", \"Height\"]}, \"rows\": {\"Warehouse\": [[\"LCHouse1\", 1, 1], [\"LCHouse1\", 2, 10], [\"LCHouse1\", 3, 5], [\"LCHouse2\", 1, 2], [\"LCHouse2\", 2, 2], [\"LCHouse3\", 4, 1]], \"Products\": [[1, \"LC-TV\", 5, 50, 40], [2, \"LC-KeyChain\", 5, 5, 5], [3, \"LC-Phone\", 2, 10, 10], [4, \"LC-T-Shirt\", 4, 10, 20]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Warehouse (name varchar(50), product_id int, units int)\\n\",\n \"Create table If Not Exists Products (product_id int, product_name varchar(50), Width int,Length int,Height int)\"\n ],\n \"mssql\": [\n \"Create table Warehouse (name varchar(50), product_id int, units int)\\n\",\n \"Create table Products (product_id int, product_name varchar(50), Width int,Length int,Height int)\\n\"\n ],\n \"oraclesql\": [\n \"Create table Warehouse (name varchar(50), product_id int, units int)\\n\",\n \"Create table Products (product_id int, product_name varchar(50), Width int,Length int,Height int)\\n\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Warehouse (name varchar(50), product_id int, units int)\n",
|
||||
"Create table If Not Exists Products (product_id int, product_name varchar(50), Width int,Length int,Height int)",
|
||||
"Truncate table Warehouse",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse1', '1', '1')",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse1', '2', '10')",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse1', '3', '5')",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse2', '1', '2')",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse2', '2', '2')",
|
||||
"insert into Warehouse (name, product_id, units) values ('LCHouse3', '4', '1')",
|
||||
"Truncate table Products",
|
||||
"insert into Products (product_id, product_name, Width, Length, Height) values ('1', 'LC-TV', '5', '50', '40')",
|
||||
"insert into Products (product_id, product_name, Width, Length, Height) values ('2', 'LC-KeyChain', '5', '5', '5')",
|
||||
"insert into Products (product_id, product_name, Width, Length, Height) values ('3', 'LC-Phone', '2', '10', '10')",
|
||||
"insert into Products (product_id, product_name, Width, Length, Height) values ('4', 'LC-T-Shirt', '4', '10', '20')"
|
||||
],
|
||||
"enableRunCode": true,
|
||||
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
|
||||
"book": null,
|
||||
"isSubscribed": false,
|
||||
"isDailyQuestion": false,
|
||||
"dailyRecordStatus": null,
|
||||
"editorType": "CKEDITOR",
|
||||
"ugcQuestionId": null,
|
||||
"style": "LEETCODE",
|
||||
"exampleTestcases": "{\"headers\": {\"Warehouse\": [\"name\", \"product_id\", \"units\"], \"Products\": [\"product_id\", \"product_name\", \"Width\", \"Length\", \"Height\"]}, \"rows\": {\"Warehouse\": [[\"LCHouse1\", 1, 1], [\"LCHouse1\", 2, 10], [\"LCHouse1\", 3, 5], [\"LCHouse2\", 1, 2], [\"LCHouse2\", 2, 2], [\"LCHouse3\", 4, 1]], \"Products\": [[1, \"LC-TV\", 5, 50, 40], [2, \"LC-KeyChain\", 5, 5, 5], [3, \"LC-Phone\", 2, 10, 10], [4, \"LC-T-Shirt\", 4, 10, 20]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user