1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]tasks-count-in-the-weekend.json

62 lines
4.1 KiB
JSON
Raw Normal View History

2022-06-18 16:20:32 +08:00
{
"data": {
"question": {
"questionId": "2440",
"questionFrontendId": "2298",
"categoryTitle": "Database",
"boundTopicId": 1593866,
"title": "Tasks Count in the Weekend",
"titleSlug": "tasks-count-in-the-weekend",
"content": null,
2023-12-09 18:42:21 +08:00
"translatedTitle": "周末任务计数",
2022-06-18 16:20:32 +08:00
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2023-12-09 18:42:21 +08:00
"likes": 2,
2022-06-18 16:20:32 +08:00
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"1.3K\", \"totalSubmission\": \"1.7K\", \"totalAcceptedRaw\": 1312, \"totalSubmissionRaw\": 1683, \"acRate\": \"78.0%\"}",
2022-06-18 16:20:32 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Tasks\": [\"task_id\", \"assignee_id\", \"submit_date\"]}, \"rows\": {\"Tasks\": [[1, 1, \"2022-06-13\"], [2, 6, \"2022-06-14\"], [3, 6, \"2022-06-15\"], [4, 3, \"2022-06-18\"], [5, 5, \"2022-06-19\"], [6, 7, \"2022-06-19\"]]}}",
2023-12-09 18:42:21 +08:00
"metaData": "{\"mysql\":[\"Create table If Not Exists Tasks (task_id int, assignee_id int, submit_date date)\"],\"mssql\":[\"Create table Tasks (task_id int, assignee_id int, submit_date date)\"],\"oraclesql\":[\"Create table Tasks (task_id int, assignee_id int, submit_date date)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"count_tasks\",\"pythondata\":[\"Tasks = pd.DataFrame([], columns=['task_id', 'assignee_id', 'submit_date']).astype({'task_id':'Int64', 'assignee_id':'Int64', 'submit_date':'datetime64[ns]'})\"],\"postgresql\":[\"Create table If Not Exists Tasks (task_id int, assignee_id int, submit_date date)\"],\"database_schema\":{\"Tasks\":{\"task_id\":\"INT\",\"assignee_id\":\"INT\",\"submit_date\":\"DATE\"}}}",
2022-06-18 16:20:32 +08:00
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Tasks (task_id int, assignee_id int, submit_date date)",
"Truncate table Tasks",
"insert into Tasks (task_id, assignee_id, submit_date) values ('1', '1', '2022-06-13')",
"insert into Tasks (task_id, assignee_id, submit_date) values ('2', '6', '2022-06-14')",
"insert into Tasks (task_id, assignee_id, submit_date) values ('3', '6', '2022-06-15')",
"insert into Tasks (task_id, assignee_id, submit_date) values ('4', '3', '2022-06-18')",
"insert into Tasks (task_id, assignee_id, submit_date) values ('5', '5', '2022-06-19')",
"insert into Tasks (task_id, assignee_id, submit_date) values ('6', '7', '2022-06-19')"
],
"enableRunCode": true,
2023-12-09 18:42:21 +08:00
"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>\"]}",
2022-06-18 16:20:32 +08:00
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\": {\"Tasks\": [\"task_id\", \"assignee_id\", \"submit_date\"]}, \"rows\": {\"Tasks\": [[1, 1, \"2022-06-13\"], [2, 6, \"2022-06-14\"], [3, 6, \"2022-06-15\"], [4, 3, \"2022-06-18\"], [5, 5, \"2022-06-19\"], [6, 7, \"2022-06-19\"]]}}",
"__typename": "QuestionNode"
}
}
}