2022-03-27 20:37:52 +08:00
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"question": {
|
|
|
|
"questionId": "1607",
|
|
|
|
"questionFrontendId": "1459",
|
|
|
|
"categoryTitle": "Database",
|
|
|
|
"boundTopicId": 266481,
|
|
|
|
"title": "Rectangles Area",
|
|
|
|
"titleSlug": "rectangles-area",
|
|
|
|
"content": null,
|
|
|
|
"translatedTitle": "矩形面积",
|
|
|
|
"translatedContent": null,
|
|
|
|
"isPaidOnly": true,
|
|
|
|
"difficulty": "Medium",
|
2023-12-09 18:42:21 +08:00
|
|
|
"likes": 20,
|
2022-03-27 20:37:52 +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\": \"6.7K\", \"totalSubmission\": \"10.8K\", \"totalAcceptedRaw\": 6748, \"totalSubmissionRaw\": 10775, \"acRate\": \"62.6%\"}",
|
2022-03-27 20:37:52 +08:00
|
|
|
"hints": [],
|
|
|
|
"solution": null,
|
|
|
|
"status": null,
|
|
|
|
"sampleTestCase": "{\"headers\":{\"Points\":[\"id\",\"x_value\",\"y_value\"]},\"rows\":{\"Points\":[[1,2,7],[2,4,8],[3,2,10]]}}",
|
2023-12-09 18:42:21 +08:00
|
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Points (id int, x_value int, y_value int)\"],\"mssql\":[\"Create table Points (id int, x_value int, y_value int)\"],\"oraclesql\":[\"Create table Points (id int, x_value int, y_value int)\"],\"database\":true,\"name\":\"rectangles_area\",\"pythondata\":[\"Points = pd.DataFrame([], columns=['id', 'x_value', 'y_value']).astype({'id':'Int64', 'x_value':'Int64', 'y_value':'Int64'})\"],\"postgresql\":[\"\\nCreate table If Not Exists Points (id int, x_value int, y_value int)\"],\"database_schema\":{\"Points\":{\"id\":\"INT\",\"x_value\":\"INT\",\"y_value\":\"INT\"}}}",
|
2022-03-27 20:37:52 +08:00
|
|
|
"judgerAvailable": true,
|
|
|
|
"judgeType": "large",
|
|
|
|
"mysqlSchemas": [
|
|
|
|
"Create table If Not Exists Points (id int, x_value int, y_value int)",
|
|
|
|
"Truncate table Points",
|
|
|
|
"insert into Points (id, x_value, y_value) values ('1', '2', '7')",
|
|
|
|
"insert into Points (id, x_value, y_value) values ('2', '4', '8')",
|
|
|
|
"insert into Points (id, x_value, y_value) values ('3', '2', '10')"
|
|
|
|
],
|
|
|
|
"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:37:52 +08:00
|
|
|
"book": null,
|
|
|
|
"isSubscribed": false,
|
|
|
|
"isDailyQuestion": false,
|
|
|
|
"dailyRecordStatus": null,
|
|
|
|
"editorType": "CKEDITOR",
|
|
|
|
"ugcQuestionId": null,
|
|
|
|
"style": "LEETCODE",
|
|
|
|
"exampleTestcases": "{\"headers\":{\"Points\":[\"id\",\"x_value\",\"y_value\"]},\"rows\":{\"Points\":[[1,2,7],[2,4,8],[3,2,10]]}}",
|
|
|
|
"__typename": "QuestionNode"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|