1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 12:55:24 +08:00
parent 2b0511d272
commit b84ae535b7
3973 changed files with 51044 additions and 105065 deletions

View File

@@ -0,0 +1,72 @@
{
"data": {
"question": {
"questionId": "574",
"questionFrontendId": "574",
"boundTopicId": null,
"title": "Winning Candidate",
"titleSlug": "winning-candidate",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 125,
"dislikes": 379,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"Candidate\":[\"id\",\"name\"],\"Vote\":[\"id\",\"candidateId\"]},\"rows\":{\"Candidate\":[[1,\"A\"],[2,\"B\"],[3,\"C\"],[4,\"D\"],[5,\"E\"]],\"Vote\":[[1,2],[2,4],[3,3],[4,2],[5,5]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"44.7K\", \"totalSubmission\": \"77.1K\", \"totalAcceptedRaw\": 44662, \"totalSubmissionRaw\": 77144, \"acRate\": \"57.9%\"}",
"hints": [],
"solution": {
"id": "208",
"canSeeDetail": true,
"paidOnly": false,
"hasVideoSolution": false,
"paidOnlyVideo": true,
"__typename": "ArticleNode"
},
"status": null,
"sampleTestCase": "{\"headers\":{\"Candidate\":[\"id\",\"name\"],\"Vote\":[\"id\",\"candidateId\"]},\"rows\":{\"Candidate\":[[1,\"A\"],[2,\"B\"],[3,\"C\"],[4,\"D\"],[5,\"E\"]],\"Vote\":[[1,2],[2,4],[3,3],[4,2],[5,5]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Candidate (id int, name varchar(255))\",\n \"Create table If Not Exists Vote (id int, candidateId int)\"\n ],\n \"mssql\": [\n \"Create table Candidate (id int, name varchar(255))\",\n \"Create table Vote (id int, candidateId int)\"\n ],\n \"oraclesql\": [\n \"Create table Candidate (id int, name varchar(255))\",\n \"Create table Vote (id int, candidateId int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Candidate (id int, name varchar(255))",
"Create table If Not Exists Vote (id int, candidateId int)",
"Truncate table Candidate",
"insert into Candidate (id, name) values ('1', 'A')",
"insert into Candidate (id, name) values ('2', 'B')",
"insert into Candidate (id, name) values ('3', 'C')",
"insert into Candidate (id, name) values ('4', 'D')",
"insert into Candidate (id, name) values ('5', 'E')",
"Truncate table Vote",
"insert into Vote (id, candidateId) values ('1', '2')",
"insert into Vote (id, candidateId) values ('2', '4')",
"insert into Vote (id, candidateId) values ('3', '3')",
"insert into Vote (id, candidateId) values ('4', '2')",
"insert into Vote (id, candidateId) values ('5', '5')"
],
"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"
}
}
}