2022-03-27 20:46:41 +08:00
{
"data" : {
"question" : {
"questionId" : "613" ,
"questionFrontendId" : "613" ,
"categoryTitle" : "Database" ,
"boundTopicId" : 2634 ,
"title" : "Shortest Distance in a Line" ,
"titleSlug" : "shortest-distance-in-a-line" ,
"content" : null ,
"translatedTitle" : "直线上的最近距离" ,
"translatedContent" : null ,
"isPaidOnly" : true ,
"difficulty" : "Easy" ,
2023-12-09 18:42:21 +08:00
"likes" : 63 ,
2022-03-27 20:46:41 +08:00
"dislikes" : 0 ,
"isLiked" : null ,
"similarQuestions" : "[]" ,
"contributors" : [ ] ,
"langToValidPlayground" : null ,
"topicTags" : [
{
"name" : "Database" ,
"slug" : "database" ,
"translatedName" : "数据库" ,
"__typename" : "TopicTagNode"
}
] ,
"companyTagStats" : null ,
"codeSnippets" : null ,
2023-12-09 18:42:21 +08:00
"stats" : "{\"totalAccepted\": \"21.6K\", \"totalSubmission\": \"27.3K\", \"totalAcceptedRaw\": 21603, \"totalSubmissionRaw\": 27278, \"acRate\": \"79.2%\"}" ,
2022-03-27 20:46:41 +08:00
"hints" : [ ] ,
"solution" : null ,
"status" : null ,
2023-12-09 18:42:21 +08:00
"sampleTestCase" : "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}" ,
"metaData" : "{\"mysql\":[\"Create Table If Not Exists Point (x int not null)\"],\"mssql\":[\"Create Table Point (x int not null)\"],\"oraclesql\":[\"Create Table Point (x int not null)\"],\"database\":true,\"name\":\"shortest_distance\",\"pythondata\":[\"Point = pd.DataFrame([], columns=['x']).astype({'x':'Int64'})\"],\"postgresql\":[\"Create Table If Not Exists Point (x int not null)\"],\"database_schema\":{\"Point\":{\"x\":\"INT\"}}}" ,
2022-03-27 20:46:41 +08:00
"judgerAvailable" : true ,
"judgeType" : "large" ,
"mysqlSchemas" : [
"Create Table If Not Exists Point (x int not null)" ,
"Truncate table Point" ,
"insert into Point (x) values ('-1')" ,
"insert into Point (x) values ('0')" ,
"insert into Point (x) values ('2')"
] ,
"enableRunCode" : true ,
2023-12-09 18:42:21 +08:00
"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>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}" ,
2022-03-27 20:46:41 +08:00
"book" : null ,
"isSubscribed" : false ,
"isDailyQuestion" : false ,
"dailyRecordStatus" : null ,
"editorType" : "CKEDITOR" ,
"ugcQuestionId" : null ,
"style" : "LEETCODE" ,
"exampleTestcases" : "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}" ,
"__typename" : "QuestionNode"
}
}
}