mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
57 lines
3.2 KiB
JSON
57 lines
3.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3282",
|
|
"questionFrontendId": "2985",
|
|
"boundTopicId": null,
|
|
"title": "Calculate Compressed Mean",
|
|
"titleSlug": "calculate-compressed-mean",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 3,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Orders\":[\"order_id\",\"item_count\",\"order_occurrences\"]},\"rows\":{\"Orders\":[[10,1,500],[11,2,1000],[12,3,800],[13,4,1000]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"275\", \"totalSubmission\": \"311\", \"totalAcceptedRaw\": 275, \"totalSubmissionRaw\": 311, \"acRate\": \"88.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Orders\":[\"order_id\",\"item_count\",\"order_occurrences\"]},\"rows\":{\"Orders\":[[10,1,500],[11,2,1000],[12,3,800],[13,4,1000]]}}",
|
|
"metaData": "{\"mysql\": [\"Create Table if Not Exists Orders ( order_id int, item_count int, order_occurrences int)\"], \"mssql\": [\"Create Table Orders ( order_id int, item_count int, order_occurrences int)\"], \"oraclesql\": [\"Create Table Orders ( order_id int, item_count int, order_occurrences int)\"], \"database\": true, \"languages\": [\"mysql\", \"mssql\", \"oraclesql\"], \"database_schema\": {\"Orders\": {\"order_id\": \"INT\", \"item_count\": \"INT\", \"order_occurrences\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create Table if Not Exists Orders ( order_id int, item_count int, order_occurrences int)",
|
|
"Truncate table Orders",
|
|
"insert into Orders (order_id, item_count, order_occurrences) values ('10', '1', '500')",
|
|
"insert into Orders (order_id, item_count, order_occurrences) values ('11', '2', '1000')",
|
|
"insert into Orders (order_id, item_count, order_occurrences) values ('12', '3', '800')",
|
|
"insert into Orders (order_id, item_count, order_occurrences) values ('13', '4', '1000')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |