mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
69 lines
4.8 KiB
JSON
69 lines
4.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1318",
|
|
"questionFrontendId": "1194",
|
|
"boundTopicId": null,
|
|
"title": "Tournament Winners",
|
|
"titleSlug": "tournament-winners",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 91,
|
|
"dislikes": 44,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Players\":[\"player_id\",\"group_id\"],\"Matches\":[\"match_id\",\"first_player\",\"second_player\",\"first_score\",\"second_score\"]},\"rows\":{\"Players\":[[10,2],[15,1],[20,3],[25,1],[30,1],[35,2],[40,3],[45,1],[50,2]],\"Matches\":[[1,15,45,3,0],[2,30,25,1,2],[3,30,15,2,0],[4,40,20,5,2],[5,35,50,1,1]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"13K\", \"totalSubmission\": \"25K\", \"totalAcceptedRaw\": 12997, \"totalSubmissionRaw\": 24980, \"acRate\": \"52.0%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Players\":[\"player_id\",\"group_id\"],\"Matches\":[\"match_id\",\"first_player\",\"second_player\",\"first_score\",\"second_score\"]},\"rows\":{\"Players\":[[10,2],[15,1],[20,3],[25,1],[30,1],[35,2],[40,3],[45,1],[50,2]],\"Matches\":[[1,15,45,3,0],[2,30,25,1,2],[3,30,15,2,0],[4,40,20,5,2],[5,35,50,1,1]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Players (player_id int, group_id int)\",\n \"Create table If Not Exists Matches (match_id int, first_player int, second_player int, first_score int, second_score int)\\n\"\n ],\n \"mssql\": [\n \"Create table Players (player_id int, group_id int)\",\n \"Create table Matches (match_id int, first_player int, second_player int, first_score int, second_score int)\\n\"\n ],\n \"oraclesql\": [\n \"Create table Players (player_id int, group_id int)\",\n \"Create table Matches (match_id int, first_player int, second_player int, first_score int, second_score int)\\n\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Players (player_id int, group_id int)",
|
|
"Create table If Not Exists Matches (match_id int, first_player int, second_player int, first_score int, second_score int)\n",
|
|
"Truncate table Players",
|
|
"insert into Players (player_id, group_id) values ('10', '2')",
|
|
"insert into Players (player_id, group_id) values ('15', '1')",
|
|
"insert into Players (player_id, group_id) values ('20', '3')",
|
|
"insert into Players (player_id, group_id) values ('25', '1')",
|
|
"insert into Players (player_id, group_id) values ('30', '1')",
|
|
"insert into Players (player_id, group_id) values ('35', '2')",
|
|
"insert into Players (player_id, group_id) values ('40', '3')",
|
|
"insert into Players (player_id, group_id) values ('45', '1')",
|
|
"insert into Players (player_id, group_id) values ('50', '2')",
|
|
"Truncate table Matches",
|
|
"insert into Matches (match_id, first_player, second_player, first_score, second_score) values ('1', '15', '45', '3', '0')",
|
|
"insert into Matches (match_id, first_player, second_player, first_score, second_score) values ('2', '30', '25', '1', '2')",
|
|
"insert into Matches (match_id, first_player, second_player, first_score, second_score) values ('3', '30', '15', '2', '0')",
|
|
"insert into Matches (match_id, first_player, second_player, first_score, second_score) values ('4', '40', '20', '5', '2')",
|
|
"insert into Matches (match_id, first_player, second_player, first_score, second_score) values ('5', '35', '50', '1', '1')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |