mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-27 02:30:28 +08:00
66 lines
4.2 KiB
JSON
66 lines
4.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1958",
|
|
"questionFrontendId": "1809",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 687194,
|
|
"title": "Ad-Free Sessions",
|
|
"titleSlug": "ad-free-sessions",
|
|
"content": null,
|
|
"translatedTitle": "没有广告的剧集",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 7,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"2.9K\", \"totalSubmission\": \"4.8K\", \"totalAcceptedRaw\": 2935, \"totalSubmissionRaw\": 4760, \"acRate\": \"61.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Playback\":[\"session_id\",\"customer_id\",\"start_time\",\"end_time\"],\"Ads\":[\"ad_id\",\"customer_id\",\"timestamp\"]},\"rows\":{\"Playback\":[[1,1,1,5],[2,1,15,23],[3,2,10,12],[4,2,17,28],[5,2,2,8]],\"Ads\":[[1,1,5],[2,2,17],[3,2,20]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Playback(session_id int,customer_id int,start_time int,end_time int)\",\n \"Create table If Not Exists Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \"mssql\": [\n \"Create table Playback(session_id int,customer_id int,start_time int,end_time int)\",\n \"Create table Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \"oraclesql\": [\n \"Create table Playback(session_id int,customer_id int,start_time int,end_time int)\",\n \"Create table Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Playback(session_id int,customer_id int,start_time int,end_time int)",
|
|
"Create table If Not Exists Ads (ad_id int, customer_id int, timestamp int)",
|
|
"Truncate table Playback",
|
|
"insert into Playback (session_id, customer_id, start_time, end_time) values ('1', '1', '1', '5')",
|
|
"insert into Playback (session_id, customer_id, start_time, end_time) values ('2', '1', '15', '23')",
|
|
"insert into Playback (session_id, customer_id, start_time, end_time) values ('3', '2', '10', '12')",
|
|
"insert into Playback (session_id, customer_id, start_time, end_time) values ('4', '2', '17', '28')",
|
|
"insert into Playback (session_id, customer_id, start_time, end_time) values ('5', '2', '2', '8')",
|
|
"Truncate table Ads",
|
|
"insert into Ads (ad_id, customer_id, timestamp) values ('1', '1', '5')",
|
|
"insert into Ads (ad_id, customer_id, timestamp) values ('2', '2', '17')",
|
|
"insert into Ads (ad_id, customer_id, timestamp) values ('3', '2', '20')"
|
|
],
|
|
"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\":{\"Playback\":[\"session_id\",\"customer_id\",\"start_time\",\"end_time\"],\"Ads\":[\"ad_id\",\"customer_id\",\"timestamp\"]},\"rows\":{\"Playback\":[[1,1,1,5],[2,1,15,23],[3,2,10,12],[4,2,17,28],[5,2,2,8]],\"Ads\":[[1,1,5],[2,2,17],[3,2,20]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |