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-cn/originData/[no content]the-number-of-passengers-in-each-bus-ii.json
2022-05-02 23:44:12 +08:00

66 lines
3.9 KiB
JSON

{
"data": {
"question": {
"questionId": "2296",
"questionFrontendId": "2153",
"categoryTitle": "Database",
"boundTopicId": 1237603,
"title": "The Number of Passengers in Each Bus II",
"titleSlug": "the-number-of-passengers-in-each-bus-ii",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 2,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"161\", \"totalSubmission\": \"391\", \"totalAcceptedRaw\": 161, \"totalSubmissionRaw\": 391, \"acRate\": \"41.2%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Buses\":[\"bus_id\",\"arrival_time\",\"capacity\"],\"Passengers\":[\"passenger_id\",\"arrival_time\"]},\"rows\":{\"Buses\":[[1,2,1],[2,4,10],[3,7,2]],\"Passengers\":[[11,1],[12,1],[13,5],[14,6],[15,7]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Buses (bus_id int, arrival_time int, capacity int)\",\n \"Create table If Not Exists Passengers (passenger_id int, arrival_time int)\"\n ],\n \"mssql\": [\n \"Create table Buses (bus_id int, arrival_time int, capacity int)\",\n \"Create table Passengers (passenger_id int, arrival_time int)\"\n ],\n \"oraclesql\": [\n \"Create table Buses (bus_id int, arrival_time int, capacity int)\",\n \"Create table Passengers (passenger_id int, arrival_time int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Buses (bus_id int, arrival_time int, capacity int)",
"Create table If Not Exists Passengers (passenger_id int, arrival_time int)",
"Truncate table Buses",
"insert into Buses (bus_id, arrival_time, capacity) values ('1', '2', '1')",
"insert into Buses (bus_id, arrival_time, capacity) values ('2', '4', '10')",
"insert into Buses (bus_id, arrival_time, capacity) values ('3', '7', '2')",
"Truncate table Passengers",
"insert into Passengers (passenger_id, arrival_time) values ('11', '1')",
"insert into Passengers (passenger_id, arrival_time) values ('12', '1')",
"insert into Passengers (passenger_id, arrival_time) values ('13', '5')",
"insert into Passengers (passenger_id, arrival_time) values ('14', '6')",
"insert into Passengers (passenger_id, arrival_time) values ('15', '7')"
],
"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>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Buses\":[\"bus_id\",\"arrival_time\",\"capacity\"],\"Passengers\":[\"passenger_id\",\"arrival_time\"]},\"rows\":{\"Buses\":[[1,2,1],[2,4,10],[3,7,2]],\"Passengers\":[[11,1],[12,1],[13,5],[14,6],[15,7]]}}",
"__typename": "QuestionNode"
}
}
}