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/算法题(国外版)/[no content]highest-grade-for-each-student.json

60 lines
3.5 KiB
JSON
Raw Normal View History

2022-03-27 18:35:17 +08:00
{
"data": {
"question": {
"questionId": "1214",
"questionFrontendId": "1112",
"boundTopicId": null,
"title": "Highest Grade For Each Student",
"titleSlug": "highest-grade-for-each-student",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 180,
"dislikes": 7,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Department Highest Salary\", \"titleSlug\": \"department-highest-salary\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Enrollments\":[\"student_id\",\"course_id\",\"grade\"]},\"rows\":{\"Enrollments\":[[2,2,95],[2,3,95],[1,1,90],[1,2,99],[3,1,80],[3,2,75],[3,3,82]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"32.5K\", \"totalSubmission\": \"44.2K\", \"totalAcceptedRaw\": 32459, \"totalSubmissionRaw\": 44232, \"acRate\": \"73.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Enrollments\":[\"student_id\",\"course_id\",\"grade\"]},\"rows\":{\"Enrollments\":[[2,2,95],[2,3,95],[1,1,90],[1,2,99],[3,1,80],[3,2,75],[3,3,82]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"mssql\": [\n \"Create table Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"oraclesql\": [\n \"Create table Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Enrollments (student_id int, course_id int, grade int)",
"Truncate table Enrollments",
"insert into Enrollments (student_id, course_id, grade) values ('2', '2', '95')",
"insert into Enrollments (student_id, course_id, grade) values ('2', '3', '95')",
"insert into Enrollments (student_id, course_id, grade) values ('1', '1', '90')",
"insert into Enrollments (student_id, course_id, grade) values ('1', '2', '99')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '1', '80')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '2', '75')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '3', '82')"
],
"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>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}