mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
53 lines
3.3 KiB
JSON
53 lines
3.3 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3255",
|
|
"questionFrontendId": "100173",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 2653968,
|
|
"title": "Pizza Toppings Cost Analysis",
|
|
"titleSlug": "pizza-toppings-cost-analysis",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 0,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"30\", \"totalSubmission\": \"42\", \"totalAcceptedRaw\": 30, \"totalSubmissionRaw\": 42, \"acRate\": \"71.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Toppings\":[\"topping_name\",\"cost\"]},\"rows\":{\"Toppings\":[[\"Pepperoni\",0.50],[\"Sausage\",0.70],[\"Chicken\",0.55],[\"Extra Cheese\",0.40]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table if not exists Toppings(topping_name varchar(100), cost decimal(5,2))\"],\"mssql\":[\"Create table Toppings(topping_name varchar(100), cost decimal(5,2))\"],\"oraclesql\":[\"Create table Toppings(topping_name varchar(100), cost decimal(5,2))\"],\"database\":true,\"name\":\"cost_analysis\",\"pythondata\":[\"Toppings = pd.DataFrame([], columns=['topping_name', 'cost']).astype({'topping_name':'object', 'cost':'Float64'})\\n\"],\"postgresql\":[\"Create table if not exists Toppings(topping_name varchar(100), cost decimal(5,2))\\n\"],\"database_schema\":{\"Toppings\":{\"topping_name\":\"VARCHAR(100)\",\"cost\":\"DECIMAL(5, 2)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table if not exists Toppings(topping_name varchar(100), cost decimal(5,2))",
|
|
"Truncate table Toppings",
|
|
"insert into Toppings (topping_name, cost) values ('Pepperoni', '0.5')",
|
|
"insert into Toppings (topping_name, cost) values ('Sausage', '0.7')",
|
|
"insert into Toppings (topping_name, cost) values ('Chicken', '0.55')",
|
|
"insert into Toppings (topping_name, cost) values ('Extra Cheese', '0.4')"
|
|
],
|
|
"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\":{\"Toppings\":[\"topping_name\",\"cost\"]},\"rows\":{\"Toppings\":[[\"Pepperoni\",0.50],[\"Sausage\",0.70],[\"Chicken\",0.55],[\"Extra Cheese\",0.40]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |