mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
68 lines
4.5 KiB
JSON
68 lines
4.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1357",
|
|
"questionFrontendId": "1225",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 35336,
|
|
"title": "Report Contiguous Dates",
|
|
"titleSlug": "report-contiguous-dates",
|
|
"content": null,
|
|
"translatedTitle": "报告系统状态的连续日期",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 75,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"8.9K\", \"totalSubmission\": \"16.9K\", \"totalAcceptedRaw\": 8871, \"totalSubmissionRaw\": 16944, \"acRate\": \"52.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Failed (fail_date date)\",\"Create table If Not Exists Succeeded (success_date date)\"],\"mssql\":[\"Create table Failed (fail_date date)\",\"Create table Succeeded (success_date date)\\n\"],\"oraclesql\":[\"Create table Failed (fail_date date)\",\"Create table Succeeded (success_date date)\\n\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"report_contiguous_dates\",\"pythondata\":[\"Failed = pd.DataFrame([], columns=['fail_date']).astype({'fail_date':'datetime64[ns]'})\",\"Succeeded = pd.DataFrame([], columns=['success_date']).astype({'success_date':'datetime64[ns]'})\"],\"postgresql\":[\"\\nCreate table If Not Exists Failed (fail_date date)\\n\",\"Create table If Not Exists Succeeded (success_date date)\"],\"database_schema\":{\"Failed\":{\"fail_date\":\"DATE\"},\"Succeeded\":{\"success_date\":\"DATE\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Failed (fail_date date)",
|
|
"Create table If Not Exists Succeeded (success_date date)",
|
|
"Truncate table Failed",
|
|
"insert into Failed (fail_date) values ('2018-12-28')",
|
|
"insert into Failed (fail_date) values ('2018-12-29')",
|
|
"insert into Failed (fail_date) values ('2019-01-04')",
|
|
"insert into Failed (fail_date) values ('2019-01-05')",
|
|
"Truncate table Succeeded",
|
|
"insert into Succeeded (success_date) values ('2018-12-30')",
|
|
"insert into Succeeded (success_date) values ('2018-12-31')",
|
|
"insert into Succeeded (success_date) values ('2019-01-01')",
|
|
"insert into Succeeded (success_date) values ('2019-01-02')",
|
|
"insert into Succeeded (success_date) values ('2019-01-03')",
|
|
"insert into Succeeded (success_date) values ('2019-01-06')"
|
|
],
|
|
"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\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |