mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
63 lines
3.1 KiB
JSON
63 lines
3.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "613",
|
|
"questionFrontendId": "613",
|
|
"boundTopicId": null,
|
|
"title": "Shortest Distance in a Line",
|
|
"titleSlug": "shortest-distance-in-a-line",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 313,
|
|
"dislikes": 40,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"67.3K\", \"totalSubmission\": \"83.8K\", \"totalAcceptedRaw\": 67280, \"totalSubmissionRaw\": 83775, \"acRate\": \"80.3%\"}",
|
|
"hints": [],
|
|
"solution": {
|
|
"id": "179",
|
|
"canSeeDetail": false,
|
|
"paidOnly": true,
|
|
"hasVideoSolution": false,
|
|
"paidOnlyVideo": true,
|
|
"__typename": "ArticleNode"
|
|
},
|
|
"status": null,
|
|
"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\"}}}",
|
|
"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,
|
|
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |