mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
62 lines
4.5 KiB
JSON
62 lines
4.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2214",
|
|
"questionFrontendId": "2072",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1100440,
|
|
"title": "The Winner University",
|
|
"titleSlug": "the-winner-university",
|
|
"content": null,
|
|
"translatedTitle": "赢得比赛的大学",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 13,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"The Number of Rich Customers\", \"titleSlug\": \"the-number-of-rich-customers\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u5bcc\\u6709\\u5ba2\\u6237\\u7684\\u6570\\u91cf\", \"isPaidOnly\": true}]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"3.5K\", \"totalSubmission\": \"5.1K\", \"totalAcceptedRaw\": 3542, \"totalSubmissionRaw\": 5092, \"acRate\": \"69.6%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,90],[2,87]],\"California\":[[2,89],[3,88]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists NewYork (student_id int, score int)\",\"Create table If Not Exists California (student_id int, score int)\"],\"mssql\":[\"Create table NewYork (student_id int, score int)\",\"Create table California (student_id int, score int)\"],\"oraclesql\":[\"Create table NewYork (student_id int, score int)\",\"Create table California (student_id int, score int)\"],\"database\":true,\"name\":\"find_winner\",\"pythondata\":[\"NewYork = pd.DataFrame([], columns=['student_id', 'score']).astype({'student_id':'Int64', 'score':'Int64'})\",\"California = pd.DataFrame([], columns=['student_id', 'score']).astype({'student_id':'Int64', 'score':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists NewYork (student_id int, score int)\",\"Create table If Not Exists California (student_id int, score int)\"],\"database_schema\":{\"NewYork\":{\"student_id\":\"INT\",\"score\":\"INT\"},\"California\":{\"student_id\":\"INT\",\"score\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists NewYork (student_id int, score int)",
|
|
"Create table If Not Exists California (student_id int, score int)",
|
|
"Truncate table NewYork",
|
|
"insert into NewYork (student_id, score) values ('1', '90')",
|
|
"insert into NewYork (student_id, score) values ('2', '87')",
|
|
"Truncate table California",
|
|
"insert into California (student_id, score) values ('2', '89')",
|
|
"insert into California (student_id, score) values ('3', '88')"
|
|
],
|
|
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,90],[2,87]],\"California\":[[2,89],[3,88]]}}\n{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,89],[2,88]],\"California\":[[2,90],[3,87]]}}\n{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,89],[2,90]],\"California\":[[2,87],[3,99]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |