1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11:41 +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

@@ -8,25 +8,32 @@
"title": "Employees With Deductions",
"titleSlug": "employees-with-deductions",
"content": null,
"translatedTitle": null,
"translatedTitle": "开除员工",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 0,
"likes": 1,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"12\", \"totalSubmission\": \"15\", \"totalAcceptedRaw\": 12, \"totalSubmissionRaw\": 15, \"acRate\": \"80.0%\"}",
"stats": "{\"totalAccepted\": \"967\", \"totalSubmission\": \"2K\", \"totalAcceptedRaw\": 967, \"totalSubmissionRaw\": 2006, \"acRate\": \"48.2%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Employees\": [\"employee_id\", \"needed_hours\"], \"Logs\": [\"employee_id\", \"in_time\", \"out_time\"]}, \"rows\": {\"Employees\": [[1, 20], [2, 12], [3, 2]], \"Logs\": [[1, \"2022-10-01 09:00:00\", \"2022-10-01 17:00:00\"],[1, \"2022-10-06 09:05:04\", \"2022-10-06 17:09:03\"], [1, \"2022-10-12 23:00:00\", \"2022-10-13 03:00:01\"], [2, \"2022-10-29 12:00:00\", \"2022-10-29 23:58:58\"]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Employees (employee_id int, needed_hours int)\",\n \"Create table If Not Exists Logs (employee_id int, in_time datetime, out_time datetime)\"\n ],\n \"mssql\": [\n \"Create table Employees (employee_id int, needed_hours int)\",\n \"Create table Logs (employee_id int, in_time datetime, out_time datetime)\"\n ],\n \"oraclesql\": [\n \"Create table Employees (employee_id int, needed_hours int)\",\n \"Create table Logs (employee_id int, in_time date, out_time date)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"\n ],\n \"database\": true\n}",
"metaData": "{\"mysql\":[\"Create table If Not Exists Employees (employee_id int, needed_hours int)\",\"Create table If Not Exists Logs (employee_id int, in_time datetime, out_time datetime)\"],\"mssql\":[\"Create table Employees (employee_id int, needed_hours int)\",\"Create table Logs (employee_id int, in_time datetime, out_time datetime)\"],\"oraclesql\":[\"Create table Employees (employee_id int, needed_hours int)\",\"Create table Logs (employee_id int, in_time date, out_time date)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"],\"database\":true,\"name\":\"employees_with_deductions\",\"pythondata\":[\"Employees = pd.DataFrame([], columns=['employee_id', 'needed_hours']).astype({'employee_id':'Int64', 'needed_hours':'Int64'})\",\"Logs = pd.DataFrame([], columns=['employee_id', 'in_time', 'out_time']).astype({'employee_id':'Int64', 'in_time':'datetime64[ns]', 'out_time':'datetime64[ns]'})\"],\"postgresql\":[\"Create table If Not Exists Employees (employee_id int, needed_hours int)\\n\",\"Create table If Not Exists Logs (employee_id int, in_time timestamp, out_time timestamp)\\n\"],\"database_schema\":{\"Employees\":{\"employee_id\":\"INT\",\"needed_hours\":\"INT\"},\"Logs\":{\"employee_id\":\"INT\",\"in_time\":\"DATETIME\",\"out_time\":\"DATETIME\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
@@ -43,7 +50,7 @@
"insert into Logs (employee_id, in_time, out_time) values ('2', '2022-10-29 12:00:00', '2022-10-29 23:58:58')"
],
"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>\"]}",
"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,