1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 146,
"dislikes": 74,
"likes": 215,
"dislikes": 128,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\": {\"Product\": [\"product_id\", \"product_name\"], \"Sales\": [\"product_id\", \"period_start\", \"period_end\", \"average_daily_sales\"]}, \"rows\": {\"Product\": [[1, \"LC Phone \"], [2, \"LC T-Shirt\"], [3, \"LC Keychain\"]], \"Sales\": [[1, \"2019-01-25\", \"2019-02-28\", 100], [2, \"2018-12-01\", \"2020-01-01\", 10], [3, \"2019-12-01\", \"2020-01-31\", 1]]}}",
@@ -28,17 +28,17 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"9.6K\", \"totalSubmission\": \"14.5K\", \"totalAcceptedRaw\": 9577, \"totalSubmissionRaw\": 14491, \"acRate\": \"66.1%\"}",
"stats": "{\"totalAccepted\": \"15.2K\", \"totalSubmission\": \"24.6K\", \"totalAcceptedRaw\": 15243, \"totalSubmissionRaw\": 24550, \"acRate\": \"62.1%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Product\": [\"product_id\", \"product_name\"], \"Sales\": [\"product_id\", \"period_start\", \"period_end\", \"average_daily_sales\"]}, \"rows\": {\"Product\": [[1, \"LC Phone \"], [2, \"LC T-Shirt\"], [3, \"LC Keychain\"]], \"Sales\": [[1, \"2019-01-25\", \"2019-02-28\", 100], [2, \"2018-12-01\", \"2020-01-01\", 10], [3, \"2019-12-01\", \"2020-01-31\", 1]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Product (product_id int, product_name varchar(30))\",\n \"Create table If Not Exists Sales (product_id varchar(30), period_start date, period_end date, average_daily_sales int)\"\n ],\n \"mssql\": [\n \"Create table Product (product_id int, product_name varchar(30))\",\n \"Create table Sales (product_id varchar(30), period_start date, period_end date, average_daily_sales int)\"\n ],\n \"oraclesql\": [\n \"Create table Product (product_id int, product_name varchar(30))\",\n \"Create table Sales (product_id varchar(30), period_start date, period_end date, average_daily_sales int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
"metaData": "{\"mysql\": [\"Create table If Not Exists Product (product_id int, product_name varchar(30))\", \"Create table If Not Exists Sales (product_id int, period_start date, period_end date, average_daily_sales int)\"], \"mssql\": [\"Create table Product (product_id int, product_name varchar(30))\", \"Create table Sales (product_id int, period_start date, period_end date, average_daily_sales int)\"], \"oraclesql\": [\"Create table Product (product_id int, product_name varchar(30))\", \"Create table Sales (product_id int, period_start date, period_end date, average_daily_sales int)\", \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"], \"database\": true, \"name\": \"total_sales\", \"pythondata\": [\"Product = pd.DataFrame([], columns=['product_id', 'product_name']).astype({'product_id':'Int64', 'product_name':'object'})\", \"Sales = pd.DataFrame([], columns=['product_id', 'period_start', 'period_end', 'average_daily_sales']).astype({'product_id':'Int64', 'period_start':'datetime64[ns]', 'period_end':'datetime64[ns]', 'average_daily_sales':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Product (product_id int, product_name varchar(30))\\n\", \"Create table If Not Exists Sales (product_id int, period_start date, period_end date, average_daily_sales int)\"], \"database_schema\": {\"Product\": {\"product_id\": \"INT\", \"product_name\": \"VARCHAR(30)\"}, \"Sales\": {\"product_id\": \"INT\", \"period_start\": \"DATE\", \"period_end\": \"DATE\", \"average_daily_sales\": \"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Product (product_id int, product_name varchar(30))",
"Create table If Not Exists Sales (product_id varchar(30), period_start date, period_end date, average_daily_sales int)",
"Create table If Not Exists Sales (product_id int, period_start date, period_end date, average_daily_sales int)",
"Truncate table Product",
"insert into Product (product_id, product_name) values ('1', 'LC Phone ')",
"insert into Product (product_id, product_name) values ('2', 'LC T-Shirt')",
@@ -51,7 +51,7 @@
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,