mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.1 KiB
JSON
59 lines
3.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2004",
|
|
"questionFrontendId": "1853",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 763907,
|
|
"title": "Convert Date Format",
|
|
"titleSlug": "convert-date-format",
|
|
"content": null,
|
|
"translatedTitle": "转换日期格式",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 14,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 3666, \"totalSubmissionRaw\": 5773, \"acRate\": \"63.5%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Days (day date)\"],\"mssql\":[\"Create table Days (day date)\"],\"oraclesql\":[\"Create table Days (day date)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"convert_date_format\",\"pythondata\":[\"Days = pd.DataFrame([], columns=['day']).astype({'day':'datetime64[ns]'})\"],\"postgresql\":[\"Create table If Not Exists Days (day date)\"],\"database_schema\":{\"Days\":{\"day\":\"DATE\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Days (day date)",
|
|
"Truncate table Days",
|
|
"insert into Days (day) values ('2022-04-12')",
|
|
"insert into Days (day) values ('2021-08-09')",
|
|
"insert into Days (day) values ('2020-06-26')"
|
|
],
|
|
"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\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |