1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]calculate-orders-within-each-interval.json

65 lines
3.7 KiB
JSON

{
"data": {
"question": {
"questionId": "3160",
"questionFrontendId": "2893",
"boundTopicId": null,
"title": "Calculate Orders Within Each Interval",
"titleSlug": "calculate-orders-within-each-interval",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 11,
"dislikes": 3,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\": {\"Orders\": [\"minute\", \"order_count\"]}, \"rows\": {\"Orders\":[[1,0],[2,2],[3,4],[4,6],[5,1],[6,4],[7,1],[8,2],[9,4],[10,1],[11,4],[12,6]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"620\", \"totalSubmission\": \"868\", \"totalAcceptedRaw\": 620, \"totalSubmissionRaw\": 868, \"acRate\": \"71.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"Orders\": [\"minute\", \"order_count\"]}, \"rows\": {\"Orders\":[[1,0],[2,2],[3,4],[4,6],[5,1],[6,4],[7,1],[8,2],[9,4],[10,1],[11,4],[12,6]]}}",
"metaData": "{\"mysql\": [\"Create table if not exists Orders(minute int, order_count int)\"], \"mssql\": [\"Create table Orders(minute int, order_count int)\"], \"oraclesql\": [\"Create table Orders(minute int, order_count int)\"], \"database\": true, \"name\": \"calculate_runs\", \"languages\": [\"mysql\", \"mssql\", \"oraclesql\"], \"database_schema\": {\"Orders\": {\"minute\": \"INT\", \"order_count\": \"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table if not exists Orders(minute int, order_count int)",
"Truncate table Orders",
"insert into Orders (minute, order_count) values ('1', '0')",
"insert into Orders (minute, order_count) values ('2', '2')",
"insert into Orders (minute, order_count) values ('3', '4')",
"insert into Orders (minute, order_count) values ('4', '6')",
"insert into Orders (minute, order_count) values ('5', '1')",
"insert into Orders (minute, order_count) values ('6', '4')",
"insert into Orders (minute, order_count) values ('7', '1')",
"insert into Orders (minute, order_count) values ('8', '2')",
"insert into Orders (minute, order_count) values ('9', '4')",
"insert into Orders (minute, order_count) values ('10', '1')",
"insert into Orders (minute, order_count) values ('11', '4')",
"insert into Orders (minute, order_count) values ('12', '6')"
],
"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"
}
}
}