1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-08 08:51:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2024-03-01 00:47:37 +08:00
parent 5028bd771c
commit e31313baa5
53 changed files with 19204 additions and 14600 deletions

View File

@@ -0,0 +1,61 @@
{
"data": {
"question": {
"questionId": "3369",
"questionFrontendId": "3061",
"categoryTitle": "Database",
"boundTopicId": 2658813,
"title": "Calculate Trapping Rain Water",
"titleSlug": "calculate-trapping-rain-water",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"8\", \"totalSubmission\": \"8\", \"totalAcceptedRaw\": 8, \"totalSubmissionRaw\": 8, \"acRate\": \"100.0%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Heights\":[\"id\",\"height\"]},\"rows\":{\"Heights\":[[1,0],[2,1],[3,0],[4,2],[5,1],[6,0],[7,1],[8,3],[9,2],[10,1],[11,2],[12,1]]}}",
"metaData": "{\"mysql\":[\"Create Table if not Exists Heights(id int, height int)\"],\"mssql\":[\"Create Table Heights(id int,height int)\"],\"oraclesql\":[\"Create Table Heights(id int,height int)\"],\"database\":true,\"name\":\"calculate_trapped_rain_water\",\"postgresql\":[\"CREATE TABLE Heights(\\n id int,\\n height int\\n);\\n\"],\"pythondata\":[\"Heights = pd.DataFrame([], columns=['id', 'height']).astype({'id':'Int64', 'height':'Int64'})\\n\"],\"database_schema\":{\"Heights\":{\"id\":\"INT\",\"height\":\"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create Table if not Exists Heights(id int, height int)",
"Truncate table Heights",
"insert into Heights (id, height) values ('1', '0')",
"insert into Heights (id, height) values ('2', '1')",
"insert into Heights (id, height) values ('3', '0')",
"insert into Heights (id, height) values ('4', '2')",
"insert into Heights (id, height) values ('5', '1')",
"insert into Heights (id, height) values ('6', '0')",
"insert into Heights (id, height) values ('7', '1')",
"insert into Heights (id, height) values ('8', '3')",
"insert into Heights (id, height) values ('9', '2')",
"insert into Heights (id, height) values ('10', '1')",
"insert into Heights (id, height) values ('11', '2')",
"insert into Heights (id, height) values ('12', '1')"
],
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Heights\":[\"id\",\"height\"]},\"rows\":{\"Heights\":[[1,0],[2,1],[3,0],[4,2],[5,1],[6,0],[7,1],[8,3],[9,2],[10,1],[11,2],[12,1]]}}",
"__typename": "QuestionNode"
}
}
}