1
+ {
2
+ "data" : {
3
+ "question" : {
4
+ "questionId" : " 3078" ,
5
+ "questionFrontendId" : " 2820" ,
6
+ "categoryTitle" : " Database" ,
7
+ "boundTopicId" : 2392746 ,
8
+ "title" : " Election Results" ,
9
+ "titleSlug" : " election-results" ,
10
+ "content" : null ,
11
+ "translatedTitle" : " 选举结果" ,
12
+ "translatedContent" : null ,
13
+ "isPaidOnly" : true ,
14
+ "difficulty" : " Medium" ,
15
+ "likes" : 0 ,
16
+ "dislikes" : 0 ,
17
+ "isLiked" : null ,
18
+ "similarQuestions" : " []" ,
19
+ "contributors" : [],
20
+ "langToValidPlayground" : null ,
21
+ "topicTags" : [],
22
+ "companyTagStats" : null ,
23
+ "codeSnippets" : null ,
24
+ "stats" : " {\" totalAccepted\" : \" 28\" , \" totalSubmission\" : \" 36\" , \" totalAcceptedRaw\" : 28, \" totalSubmissionRaw\" : 36, \" acRate\" : \" 77.8%\" }" ,
25
+ "hints" : [],
26
+ "solution" : null ,
27
+ "status" : null ,
28
+ "sampleTestCase" : " {\" headers\" :{\" Votes\" :[\" voter\" ,\" candidate\" ]},\" rows\" :{\" Votes\" :[[\" Kathy\" ,null],[\" Charles\" ,\" Ryan\" ],[\" Charles\" ,\" Christine\" ],[\" Charles\" ,\" Kathy\" ],[\" Benjamin\" ,\" Christine\" ],[\" Anthony\" ,\" Ryan\" ],[\" Edward\" ,\" Ryan\" ],[\" Terry\" ,null],[\" Evelyn\" ,\" Kathy\" ],[\" Arthur\" ,\" Christine\" ]]}}" ,
29
+ "metaData" : " {\" mysql\" :[\" Create table if not exists Votes(voter varchar(30), candidate varchar(30))\" ],\" mssql\" :[\" Create table Votes(voter varchar(30),candidate varchar(30))\" ],\" oraclesql\" :[\" Create table Votes(voter varchar(30),candidate varchar(30))\" ],\" database\" :true,\" languages\" :[\" mysql\" ,\" mssql\" ,\" oraclesql\" ],\" database_schema\" :{\" Votes\" :{\" voter\" :\" VARCHAR(30)\" ,\" candidate\" :\" VARCHAR(30)\" }}}" ,
30
+ "judgerAvailable" : true ,
31
+ "judgeType" : " large" ,
32
+ "mysqlSchemas" : [
33
+ " Create table if not exists Votes(voter varchar(30), candidate varchar(30))" ,
34
+ " Truncate table Votes" ,
35
+ " insert into Votes (voter, candidate) values ('Kathy', 'None')" ,
36
+ " insert into Votes (voter, candidate) values ('Charles', 'Ryan')" ,
37
+ " insert into Votes (voter, candidate) values ('Charles', 'Christine')" ,
38
+ " insert into Votes (voter, candidate) values ('Charles', 'Kathy')" ,
39
+ " insert into Votes (voter, candidate) values ('Benjamin', 'Christine')" ,
40
+ " insert into Votes (voter, candidate) values ('Anthony', 'Ryan')" ,
41
+ " insert into Votes (voter, candidate) values ('Edward', 'Ryan')" ,
42
+ " insert into Votes (voter, candidate) values ('Terry', 'None')" ,
43
+ " insert into Votes (voter, candidate) values ('Evelyn', 'Kathy')" ,
44
+ " insert into Votes (voter, candidate) values ('Arthur', 'Christine')"
45
+ ],
46
+ "enableRunCode" : true ,
47
+ "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.0.2 and NumPy 1.25.0<\\ /p>\" ]}" ,
48
+ "book" : null ,
49
+ "isSubscribed" : false ,
50
+ "isDailyQuestion" : false ,
51
+ "dailyRecordStatus" : null ,
52
+ "editorType" : " CKEDITOR" ,
53
+ "ugcQuestionId" : null ,
54
+ "style" : " LEETCODE" ,
55
+ "exampleTestcases" : " {\" headers\" :{\" Votes\" :[\" voter\" ,\" candidate\" ]},\" rows\" :{\" Votes\" :[[\" Kathy\" ,null],[\" Charles\" ,\" Ryan\" ],[\" Charles\" ,\" Christine\" ],[\" Charles\" ,\" Kathy\" ],[\" Benjamin\" ,\" Christine\" ],[\" Anthony\" ,\" Ryan\" ],[\" Edward\" ,\" Ryan\" ],[\" Terry\" ,null],[\" Evelyn\" ,\" Kathy\" ],[\" Arthur\" ,\" Christine\" ]]}}" ,
56
+ "__typename" : " QuestionNode"
57
+ }
58
+ }
59
+ }
0 commit comments