mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.7 KiB
JSON
59 lines
3.7 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1686",
|
|
"questionFrontendId": "1543",
|
|
"boundTopicId": null,
|
|
"title": "Fix Product Name Format",
|
|
"titleSlug": "fix-product-name-format",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 55,
|
|
"dislikes": 35,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\": {\"Sales\": [\"sale_id\", \"product_name\", \"sale_date\"]}, \"rows\": {\"Sales\": [[1, \"LCPHONE\", \"2000-01-16\"], [2, \"LCPhone\", \"2000-01-17\"], [3, \"LcPhOnE\", \"2000-02-18\"], [4, \"LCKeyCHAiN\", \"2000-02-19\"], [5, \"LCKeyChain\", \"2000-02-28\"], [6, \"Matryoshka\", \"2000-03-31\"]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"13.1K\", \"totalSubmission\": \"20.7K\", \"totalAcceptedRaw\": 13068, \"totalSubmissionRaw\": 20710, \"acRate\": \"63.1%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Sales\": [\"sale_id\", \"product_name\", \"sale_date\"]}, \"rows\": {\"Sales\": [[1, \"LCPHONE\", \"2000-01-16\"], [2, \"LCPhone\", \"2000-01-17\"], [3, \"LcPhOnE\", \"2000-02-18\"], [4, \"LCKeyCHAiN\", \"2000-02-19\"], [5, \"LCKeyChain\", \"2000-02-28\"], [6, \"Matryoshka\", \"2000-03-31\"]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Sales (sale_id int, product_name varchar(30), sale_date date)\\n\"\n ],\n \"mssql\": [\n \"Create table Sales (sale_id int, product_name varchar(30), sale_date date)\\n\"\n ],\n \"oraclesql\": [\n \"Create table Sales (sale_id int, product_name varchar(30), sale_date date)\\n\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\\n\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Sales (sale_id int, product_name varchar(30), sale_date date)\n",
|
|
"Truncate table Sales",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('1', 'LCPHONE', '2000-01-16')",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('2', 'LCPhone', '2000-01-17')",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('3', 'LcPhOnE', '2000-02-18')",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('4', 'LCKeyCHAiN', '2000-02-19')",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('5', 'LCKeyChain', '2000-02-28')",
|
|
"insert into Sales (sale_id, product_name, sale_date) values ('6', 'Matryoshka', '2000-03-31')"
|
|
],
|
|
"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>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |