mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
67 lines
4.3 KiB
JSON
67 lines
4.3 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1494",
|
|
"questionFrontendId": "1355",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 105475,
|
|
"title": "Activity Participants",
|
|
"titleSlug": "activity-participants",
|
|
"content": null,
|
|
"translatedTitle": "活动参与者",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 24,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"5.3K\", \"totalSubmission\": \"7.9K\", \"totalAcceptedRaw\": 5260, \"totalSubmissionRaw\": 7890, \"acRate\": \"66.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Friends\": [\"id\", \"name\", \"activity\"], \"Activities\": [\"id\", \"name\"]}, \"rows\": {\"Friends\": [[1, \"Jonathan D.\", \"Eating\"], [2, \"Jade W.\", \"Singing\"], [3, \"Victor J.\", \"Singing\"], [4, \"Elvis Q.\", \"Eating\"], [5, \"Daniel A.\", \"Eating\"], [6, \"Bob B.\", \"Horse Riding\"]], \"Activities\": [[1, \"Eating\"], [2, \"Singing\"], [3, \"Horse Riding\"]]}}\r",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Friends (id int, name varchar(30), activity varchar(30))\",\n \"Create table If Not Exists Activities (id int, name varchar(30))\"\n ],\n \"mssql\": [\n \"Create table Friends (id int, name varchar(30), activity varchar(30))\",\n \"Create table Activities (id int, name varchar(30))\"\n ],\n \"oraclesql\": [\n \"Create table Friends (id int, name varchar(30), activity varchar(30))\",\n \"Create table Activities (id int, name varchar(30))\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Friends (id int, name varchar(30), activity varchar(30))",
|
|
"Create table If Not Exists Activities (id int, name varchar(30))",
|
|
"Truncate table Friends",
|
|
"insert into Friends (id, name, activity) values ('1', 'Jonathan D.', 'Eating')",
|
|
"insert into Friends (id, name, activity) values ('2', 'Jade W.', 'Singing')",
|
|
"insert into Friends (id, name, activity) values ('3', 'Victor J.', 'Singing')",
|
|
"insert into Friends (id, name, activity) values ('4', 'Elvis Q.', 'Eating')",
|
|
"insert into Friends (id, name, activity) values ('5', 'Daniel A.', 'Eating')",
|
|
"insert into Friends (id, name, activity) values ('6', 'Bob B.', 'Horse Riding')",
|
|
"Truncate table Activities",
|
|
"insert into Activities (id, name) values ('1', 'Eating')",
|
|
"insert into Activities (id, name) values ('2', 'Singing')",
|
|
"insert into Activities (id, name) values ('3', 'Horse Riding')"
|
|
],
|
|
"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\": {\"Friends\": [\"id\", \"name\", \"activity\"], \"Activities\": [\"id\", \"name\"]}, \"rows\": {\"Friends\": [[1, \"Jonathan D.\", \"Eating\"], [2, \"Jade W.\", \"Singing\"], [3, \"Victor J.\", \"Singing\"], [4, \"Elvis Q.\", \"Eating\"], [5, \"Daniel A.\", \"Eating\"], [6, \"Bob B.\", \"Horse Riding\"]], \"Activities\": [[1, \"Eating\"], [2, \"Singing\"], [3, \"Horse Riding\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |