{ "data": { "question": { "questionId": "612", "questionFrontendId": "612", "boundTopicId": null, "title": "Shortest Distance in a Plane", "titleSlug": "shortest-distance-in-a-plane", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 163, "dislikes": 61, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Point2D\":[\"x\",\"y\"]},\"rows\":{\"Point2D\":[[-1,-1],[0,0],[-1,-2]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"29.1K\", \"totalSubmission\": \"46.3K\", \"totalAcceptedRaw\": 29147, \"totalSubmissionRaw\": 46263, \"acRate\": \"63.0%\"}", "hints": [], "solution": { "id": "178", "canSeeDetail": true, "paidOnly": false, "hasVideoSolution": false, "paidOnlyVideo": true, "__typename": "ArticleNode" }, "status": null, "sampleTestCase": "{\"headers\":{\"Point2D\":[\"x\",\"y\"]},\"rows\":{\"Point2D\":[[-1,-1],[0,0],[-1,-2]]}}", "metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Point2D (x int not null, y int not null)\"\n ],\n \"mssql\": [\n \"Create Table Point2D (x int not null, y int not null)\"\n ],\n \"oraclesql\": [\n \"Create Table Point2D (x int not null, y int not null)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table If Not Exists Point2D (x int not null, y int not null)", "Truncate table Point2D", "insert into Point2D (x, y) values ('-1', '-1')", "insert into Point2D (x, y) values ('0', '0')", "insert into Point2D (x, y) values ('-1', '-2')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.