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]ad-free-sessions.json

63 lines
4.9 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "1958",
"questionFrontendId": "1809",
"boundTopicId": null,
"title": "Ad-Free Sessions",
"titleSlug": "ad-free-sessions",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
2023-12-09 18:50:08 +08:00
"likes": 82,
"dislikes": 56,
2022-03-27 18:27:43 +08:00
"isLiked": null,
"similarQuestions": "[]",
"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]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"14.3K\", \"totalSubmission\": \"24.6K\", \"totalAcceptedRaw\": 14325, \"totalSubmissionRaw\": 24557, \"acRate\": \"58.3%\"}",
2022-03-27 18:27:43 +08:00
"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]]}}",
2023-12-09 18:50:08 +08:00
"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\"}}}",
2022-03-27 18:27:43 +08:00
"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,
"enableTestMode": false,
"enableDebugger": false,
2023-12-09 18:50:08 +08:00
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
2022-03-27 18:27:43 +08:00
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}