1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]pizza-toppings-cost-analysis.json

50 lines
3.3 KiB
JSON
Raw Normal View History

2024-03-01 00:47:37 +08:00
{
"data": {
"question": {
"questionId": "3255",
"questionFrontendId": "3050",
"boundTopicId": null,
"title": "Pizza Toppings Cost Analysis",
"titleSlug": "pizza-toppings-cost-analysis",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 1,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"Toppings\":[\"topping_name\",\"cost\"]},\"rows\":{\"Toppings\":[[\"Pepperoni\",0.50],[\"Sausage\",0.70],[\"Chicken\",0.55],[\"Extra Cheese\",0.40]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"237\", \"totalSubmission\": \"303\", \"totalAcceptedRaw\": 237, \"totalSubmissionRaw\": 303, \"acRate\": \"78.2%\"}",
"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,
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}