mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
50 lines
3.0 KiB
JSON
50 lines
3.0 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3258",
|
|
"questionFrontendId": "3053",
|
|
"boundTopicId": null,
|
|
"title": "Classifying Triangles by Lengths",
|
|
"titleSlug": "classifying-triangles-by-lengths",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 5,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Triangles\":[\"A\",\"B\",\"C\"]},\"rows\":{\"Triangles\":[[20,20,23],[20,20,20],[20,21,22],[13,14,30]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"271\", \"totalSubmission\": \"490\", \"totalAcceptedRaw\": 271, \"totalSubmissionRaw\": 490, \"acRate\": \"55.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Triangles\":[\"A\",\"B\",\"C\"]},\"rows\":{\"Triangles\":[[20,20,23],[20,20,20],[20,21,22],[13,14,30]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Triangles (A int, B int, C int)\"], \"mssql\": [\"Create table Triangles (A int, B int, C int)\"], \"oraclesql\": [\"Create table Triangles (A int, B int, C int)\"], \"database\": true, \"name\": \"type_of_triangle\", \"pythondata\": [\"Triangles = pd.DataFrame([], columns=['A', 'B', 'C']).astype({'A':'Int64', 'B':'Int64', 'C':'Int64'})\\n\"], \"postgresql\": [\"Create table If Not Exists Triangles (A int, B int, C int)\\n\"], \"database_schema\": {\"Triangles\": {\"A\": \"INT\", \"B\": \"INT\", \"C\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Triangles (A int, B int, C int)",
|
|
"Truncate table Triangles",
|
|
"insert into Triangles (A, B, C) values ('20', '20', '23')",
|
|
"insert into Triangles (A, B, C) values ('20', '20', '20')",
|
|
"insert into Triangles (A, B, C) values ('20', '21', '22')",
|
|
"insert into Triangles (A, B, C) values ('13', '14', '30')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |