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]find-cutoff-score-for-each-school.json
2022-05-02 23:44:12 +08:00

60 lines
3.6 KiB
JSON

{
"data": {
"question": {
"questionId": "2136",
"questionFrontendId": "1988",
"categoryTitle": "Database",
"boundTopicId": 966366,
"title": "Find Cutoff Score for Each School",
"titleSlug": "find-cutoff-score-for-each-school",
"content": null,
"translatedTitle": "找出每所学校的最低分数要求",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 4,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"1.4K\", \"totalSubmission\": \"2.1K\", \"totalAcceptedRaw\": 1397, \"totalSubmissionRaw\": 2100, \"acRate\": \"66.5%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Schools\":[\"school_id\",\"capacity\"],\"Exam\":[\"score\",\"student_count\"]},\"rows\":{\"Schools\":[[11,151],[5,48],[9,9],[10,99]],\"Exam\":[[975,10],[966,60],[844,76],[749,76],[744,100]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Schools (school_id int, capacity int)\",\n \"Create table If Not Exists Exam (score int, student_count int)\"\n ],\n \"mssql\": [\n \"Create table Schools (school_id int, capacity int)\",\n \"Create table Exam (score int, student_count int)\"\n ],\n \"oraclesql\": [\n \"Create table Schools (school_id int, capacity int)\",\n \"Create table Exam (score int, student_count int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Schools (school_id int, capacity int)",
"Create table If Not Exists Exam (score int, student_count int)",
"Truncate table Schools",
"insert into Schools (school_id, capacity) values ('11', '151')",
"insert into Schools (school_id, capacity) values ('5', '48')",
"insert into Schools (school_id, capacity) values ('9', '9')",
"insert into Schools (school_id, capacity) values ('10', '99')",
"Truncate table Exam",
"insert into Exam (score, student_count) values ('975', '10')",
"insert into Exam (score, student_count) values ('966', '60')",
"insert into Exam (score, student_count) values ('844', '76')",
"insert into Exam (score, student_count) values ('749', '76')",
"insert into Exam (score, student_count) values ('744', '100')"
],
"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\":{\"Schools\":[\"school_id\",\"capacity\"],\"Exam\":[\"score\",\"student_count\"]},\"rows\":{\"Schools\":[[11,151],[5,48],[9,9],[10,99]],\"Exam\":[[975,10],[966,60],[844,76],[749,76],[744,100]]}}",
"__typename": "QuestionNode"
}
}
}