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]ads-performance.json
2022-05-02 23:44:12 +08:00

66 lines
3.9 KiB
JSON

{
"data": {
"question": {
"questionId": "1453",
"questionFrontendId": "1322",
"categoryTitle": "Database",
"boundTopicId": 76185,
"title": "Ads Performance",
"titleSlug": "ads-performance",
"content": null,
"translatedTitle": "广告效果",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 33,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"7.1K\", \"totalSubmission\": \"11.9K\", \"totalAcceptedRaw\": 7073, \"totalSubmissionRaw\": 11895, \"acRate\": \"59.5%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Ads\":[\"ad_id\",\"user_id\",\"action\"]},\"rows\":{\"Ads\":[[1,1,\"Clicked\"],[2,2,\"Clicked\"],[3,3,\"Viewed\"],[5,5,\"Ignored\"],[1,7,\"Ignored\"],[2,7,\"Viewed\"],[3,5,\"Clicked\"],[1,4,\"Viewed\"],[2,11,\"Viewed\"],[1,2,\"Clicked\"]]}}\r",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Ads (ad_id int, user_id int, action ENUM('Clicked', 'Viewed', 'Ignored'))\"\n ],\n \"mssql\": [\n \"create table Ads (ad_id int, user_id int, action VARCHAR(10) NOT NULL CHECK (action IN ('Clicked', 'Viewed', 'Ignored')))\"\n ],\n \"oraclesql\": [\n \"create table Ads (ad_id int, user_id int, action VARCHAR(10) NOT NULL CHECK (action IN ('Clicked', 'Viewed', 'Ignored')))\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Ads (ad_id int, user_id int, action ENUM('Clicked', 'Viewed', 'Ignored'))",
"Truncate table Ads",
"insert into Ads (ad_id, user_id, action) values ('1', '1', 'Clicked')",
"insert into Ads (ad_id, user_id, action) values ('2', '2', 'Clicked')",
"insert into Ads (ad_id, user_id, action) values ('3', '3', 'Viewed')",
"insert into Ads (ad_id, user_id, action) values ('5', '5', 'Ignored')",
"insert into Ads (ad_id, user_id, action) values ('1', '7', 'Ignored')",
"insert into Ads (ad_id, user_id, action) values ('2', '7', 'Viewed')",
"insert into Ads (ad_id, user_id, action) values ('3', '5', 'Clicked')",
"insert into Ads (ad_id, user_id, action) values ('1', '4', 'Viewed')",
"insert into Ads (ad_id, user_id, action) values ('2', '11', 'Viewed')",
"insert into Ads (ad_id, user_id, action) values ('1', '2', 'Clicked')"
],
"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\":{\"Ads\":[\"ad_id\",\"user_id\",\"action\"]},\"rows\":{\"Ads\":[[1,1,\"Clicked\"],[2,2,\"Clicked\"],[3,3,\"Viewed\"],[5,5,\"Ignored\"],[1,7,\"Ignored\"],[2,7,\"Viewed\"],[3,5,\"Clicked\"],[1,4,\"Viewed\"],[2,11,\"Viewed\"],[1,2,\"Clicked\"]]}}",
"__typename": "QuestionNode"
}
}
}