mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part1
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1278",
|
||||
"questionFrontendId": "1164",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 33161,
|
||||
"title": "Product Price at a Given Date",
|
||||
"titleSlug": "product-price-at-a-given-date",
|
||||
"content": null,
|
||||
"translatedTitle": "指定日期的产品价格",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 66,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"7.5K\", \"totalSubmission\": \"12.5K\", \"totalAcceptedRaw\": 7527, \"totalSubmissionRaw\": 12471, \"acRate\": \"60.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"new_price\",\"change_date\"]},\"rows\":{\"Products\":[[1,20,\"2019-08-14\"],[2,50,\"2019-08-14\"],[1,30,\"2019-08-15\"],[1,35,\"2019-08-16\"],[2,65,\"2019-08-17\"],[3,20,\"2019-08-18\"]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Products (product_id int, new_price int, change_date date)\"\n ],\n \"mssql\": [\n \"Create table Products (product_id int, new_price int, change_date date)\"\n ],\n \"oraclesql\": [\n \"Create table Products (product_id int, new_price int, change_date date)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create table If Not Exists Products (product_id int, new_price int, change_date date)",
|
||||
"Truncate table Products",
|
||||
"insert into Products (product_id, new_price, change_date) values ('1', '20', '2019-08-14')",
|
||||
"insert into Products (product_id, new_price, change_date) values ('2', '50', '2019-08-14')",
|
||||
"insert into Products (product_id, new_price, change_date) values ('1', '30', '2019-08-15')",
|
||||
"insert into Products (product_id, new_price, change_date) values ('1', '35', '2019-08-16')",
|
||||
"insert into Products (product_id, new_price, change_date) values ('2', '65', '2019-08-17')",
|
||||
"insert into Products (product_id, new_price, change_date) values ('3', '20', '2019-08-18')"
|
||||
],
|
||||
"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>\"]}",
|
||||
"book": null,
|
||||
"isSubscribed": false,
|
||||
"isDailyQuestion": false,
|
||||
"dailyRecordStatus": null,
|
||||
"editorType": "CKEDITOR",
|
||||
"ugcQuestionId": null,
|
||||
"style": "LEETCODE",
|
||||
"exampleTestcases": "{\"headers\":{\"Products\":[\"product_id\",\"new_price\",\"change_date\"]},\"rows\":{\"Products\":[[1,20,\"2019-08-14\"],[2,50,\"2019-08-14\"],[1,30,\"2019-08-15\"],[1,35,\"2019-08-16\"],[2,65,\"2019-08-17\"],[3,20,\"2019-08-18\"]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user