mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
65 lines
3.8 KiB
JSON
65 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2223",
|
|
"questionFrontendId": "2082",
|
|
"boundTopicId": null,
|
|
"title": "The Number of Rich Customers",
|
|
"titleSlug": "the-number-of-rich-customers",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 93,
|
|
"dislikes": 24,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"The Winner University\", \"titleSlug\": \"the-winner-university\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": "{\"headers\":{\"Store\":[\"bill_id\",\"customer_id\",\"amount\"]},\"rows\":{\"Store\":[[6,1,549],[8,1,834],[4,2,394],[11,3,657],[13,3,257]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"19.9K\", \"totalSubmission\": \"25.7K\", \"totalAcceptedRaw\": 19882, \"totalSubmissionRaw\": 25714, \"acRate\": \"77.3%\"}",
|
|
"hints": [],
|
|
"solution": {
|
|
"id": "2022",
|
|
"canSeeDetail": false,
|
|
"paidOnly": true,
|
|
"hasVideoSolution": false,
|
|
"paidOnlyVideo": true,
|
|
"__typename": "ArticleNode"
|
|
},
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Store\":[\"bill_id\",\"customer_id\",\"amount\"]},\"rows\":{\"Store\":[[6,1,549],[8,1,834],[4,2,394],[11,3,657],[13,3,257]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Store (bill_id int, customer_id int, amount int)\"], \"mssql\": [\"Create table Store (bill_id int, customer_id int, amount int)\"], \"oraclesql\": [\"Create table Store (bill_id int, customer_id int, amount int)\"], \"database\": true, \"name\": \"count_rich_customers\", \"pythondata\": [\"Store = pd.DataFrame([], columns=['bill_id', 'customer_id', 'amount']).astype({'bill_id':'int64', 'customer_id':'int64', 'amount':'int64'})\"], \"database_schema\": {\"Store\": {\"bill_id\": \"INT\", \"customer_id\": \"INT\", \"amount\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Store (bill_id int, customer_id int, amount int)",
|
|
"Truncate table Store",
|
|
"insert into Store (bill_id, customer_id, amount) values ('6', '1', '549')",
|
|
"insert into Store (bill_id, customer_id, amount) values ('8', '1', '834')",
|
|
"insert into Store (bill_id, customer_id, amount) values ('4', '2', '394')",
|
|
"insert into Store (bill_id, customer_id, amount) values ('11', '3', '657')",
|
|
"insert into Store (bill_id, customer_id, amount) values ('13', '3', '257')"
|
|
],
|
|
"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>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |