mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
70 lines
5.5 KiB
JSON
70 lines
5.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1546",
|
|
"questionFrontendId": "1412",
|
|
"boundTopicId": null,
|
|
"title": "Find the Quiet Students in All Exams",
|
|
"titleSlug": "find-the-quiet-students-in-all-exams",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 203,
|
|
"dislikes": 18,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\": {\"Student\": [\"student_id\", \"student_name\"], \"Exam\": [\"exam_id\", \"student_id\", \"score\"]}, \"rows\": {\"Student\": [[1, \"Daniel\"], [2, \"Jade\"], [3, \"Stella\"], [4, \"Jonathan\"], [5, \"Will\"]], \"Exam\": [[10, 1, 70], [10, 2, 80], [10, 3, 90], [20, 1, 80], [30, 1, 70], [30, 3, 80], [30, 4, 90], [40, 1, 60], [40, 2, 70], [40, 4, 80]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"23.5K\", \"totalSubmission\": \"39.2K\", \"totalAcceptedRaw\": 23459, \"totalSubmissionRaw\": 39227, \"acRate\": \"59.8%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Student\": [\"student_id\", \"student_name\"], \"Exam\": [\"exam_id\", \"student_id\", \"score\"]}, \"rows\": {\"Student\": [[1, \"Daniel\"], [2, \"Jade\"], [3, \"Stella\"], [4, \"Jonathan\"], [5, \"Will\"]], \"Exam\": [[10, 1, 70], [10, 2, 80], [10, 3, 90], [20, 1, 80], [30, 1, 70], [30, 3, 80], [30, 4, 90], [40, 1, 60], [40, 2, 70], [40, 4, 80]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Student (student_id int, student_name varchar(30))\", \"Create table If Not Exists Exam (exam_id int, student_id int, score int)\"], \"mssql\": [\"Create table Student (student_id int, student_name varchar(30))\", \"Create table Exam (exam_id int, student_id int, score int)\"], \"oraclesql\": [\"Create table Student (student_id int, student_name varchar(30))\", \"Create table Exam (exam_id int, student_id int, score int)\"], \"database\": true, \"name\": \"find_quiet_students\", \"pythondata\": [\"Student = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\", \"Exam = pd.DataFrame([], columns=['exam_id', 'student_id', 'score']).astype({'exam_id':'Int64', 'student_id':'Int64', 'score':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Student (student_id int, student_name varchar(30))\\n\", \"Create table If Not Exists Exam (exam_id int, student_id int, score int)\"], \"database_schema\": {\"Student\": {\"student_id\": \"INT\", \"student_name\": \"VARCHAR(30)\"}, \"Exam\": {\"exam_id\": \"INT\", \"student_id\": \"INT\", \"score\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Student (student_id int, student_name varchar(30))",
|
|
"Create table If Not Exists Exam (exam_id int, student_id int, score int)",
|
|
"Truncate table Student",
|
|
"insert into Student (student_id, student_name) values ('1', 'Daniel')",
|
|
"insert into Student (student_id, student_name) values ('2', 'Jade')",
|
|
"insert into Student (student_id, student_name) values ('3', 'Stella')",
|
|
"insert into Student (student_id, student_name) values ('4', 'Jonathan')",
|
|
"insert into Student (student_id, student_name) values ('5', 'Will')",
|
|
"Truncate table Exam",
|
|
"insert into Exam (exam_id, student_id, score) values ('10', '1', '70')",
|
|
"insert into Exam (exam_id, student_id, score) values ('10', '2', '80')",
|
|
"insert into Exam (exam_id, student_id, score) values ('10', '3', '90')",
|
|
"insert into Exam (exam_id, student_id, score) values ('20', '1', '80')",
|
|
"insert into Exam (exam_id, student_id, score) values ('30', '1', '70')",
|
|
"insert into Exam (exam_id, student_id, score) values ('30', '3', '80')",
|
|
"insert into Exam (exam_id, student_id, score) values ('30', '4', '90')",
|
|
"insert into Exam (exam_id, student_id, score) values ('40', '1', '60')",
|
|
"insert into Exam (exam_id, student_id, score) values ('40', '2', '70')",
|
|
"insert into Exam (exam_id, student_id, score) values ('40', '4', '80')"
|
|
],
|
|
"enableRunCode": true,
|
|
"enableTestMode": false,
|
|
"enableDebugger": false,
|
|
"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>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |