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-cn/originData/[no content]ad-free-sessions.json

66 lines
5.0 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": 14,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"5K\", \"totalSubmission\": \"8.1K\", \"totalAcceptedRaw\": 4968, \"totalSubmissionRaw\": 8130, \"acRate\": \"61.1%\"}",
"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": "{\"mysql\":[\"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)\"],\"mssql\":[\"Create table Playback(session_id int,customer_id int,start_time int,end_time int)\",\"Create table Ads (ad_id int, customer_id int, timestamp int)\"],\"oraclesql\":[\"Create table Playback(session_id int,customer_id int,start_time int,end_time int)\",\"Create table Ads (ad_id int, customer_id int, timestamp int)\"],\"database\":true,\"name\":\"ad_free_sessions\",\"pythondata\":[\"Playback = pd.DataFrame([], columns=['session_id', 'customer_id', 'start_time', 'end_time']).astype({'session_id':'Int64', 'customer_id':'Int64', 'start_time':'Int64', 'end_time':'Int64'})\",\"Ads = pd.DataFrame([], columns=['ad_id', 'customer_id', 'timestamp']).astype({'ad_id':'Int64', 'customer_id':'Int64', 'timestamp':'Int64'})\"],\"postgresql\":[\"\\nCreate 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)\"],\"database_schema\":{\"Playback\":{\"session_id\":\"INT\",\"customer_id\":\"INT\",\"start_time\":\"INT\",\"end_time\":\"INT\"},\"Ads\":{\"ad_id\":\"INT\",\"customer_id\":\"INT\",\"timestamp\":\"INT\"}}}",
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/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"
}
}
}