mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
59 lines
3.2 KiB
JSON
59 lines
3.2 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2253",
|
|
"questionFrontendId": "2118",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1176975,
|
|
"title": "Build the Equation",
|
|
"titleSlug": "build-the-equation",
|
|
"content": null,
|
|
"translatedTitle": "建立方程",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Hard",
|
|
"likes": 4,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"969\", \"totalSubmission\": \"1.7K\", \"totalAcceptedRaw\": 969, \"totalSubmissionRaw\": 1739, \"acRate\": \"55.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[2,1],[1,-4],[0,2]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Terms (power int, factor int)\"],\"mssql\":[\"Create table Terms (power int, factor int)\"],\"oraclesql\":[\"Create table Terms (power int, factor int)\"],\"database\":true,\"name\":\"build_the_equation\",\"pythondata\":[\"Terms = pd.DataFrame([], columns=['power', 'factor']).astype({'power':'Int64', 'factor':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Terms (power int, factor int)\"],\"database_schema\":{\"Terms\":{\"power\":\"INT\",\"factor\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Terms (power int, factor int)",
|
|
"Truncate table Terms",
|
|
"insert into Terms (power, factor) values ('2', '1')",
|
|
"insert into Terms (power, factor) values ('1', '-4')",
|
|
"insert into Terms (power, factor) values ('0', '2')"
|
|
],
|
|
"enableRunCode": true,
|
|
"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>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[2,1],[1,-4],[0,2]]}}\n{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[4,-4],[2,1],[1,-1]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |