mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-25 17:50:26 +08:00
61 lines
4.1 KiB
JSON
61 lines
4.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1981",
|
|
"questionFrontendId": "1831",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 729267,
|
|
"title": "Maximum Transaction Each Day",
|
|
"titleSlug": "maximum-transaction-each-day",
|
|
"content": null,
|
|
"translatedTitle": "每天的最大交易",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 18,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"6.1K\", \"totalSubmission\": \"7.9K\", \"totalAcceptedRaw\": 6056, \"totalSubmissionRaw\": 7926, \"acRate\": \"76.4%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Transactions\": [\"transaction_id\", \"day\", \"amount\"]}, \"rows\": {\"Transactions\": [[8, \"2021-4-3 15:57:28\", 57], [9, \"2021-4-28 08:47:25\", 21], [1, \"2021-4-29 13:28:30\", 58], [5, \"2021-4-28 16:39:59\", 40], [6, \"2021-4-29 23:39:28\", 58]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists Transactions (transaction_id int, day date, amount int)\"],\"mssql\":[\"Create table Transactions (transaction_id int, day datetime, amount int)\"],\"oraclesql\":[\"Create table Transactions (transaction_id int, day date, amount int)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"],\"database\":true,\"name\":\"find_maximum_transaction\",\"pythondata\":[\"Transactions = pd.DataFrame([], columns=['transaction_id', 'day', 'amount']).astype({'transaction_id':'Int64', 'day':'datetime64[ns]', 'amount':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Transactions (transaction_id int, day datetime, amount int)\"],\"database_schema\":{\"Transactions\":{\"transaction_id\":\"INT\",\"day\":\"DATE\",\"amount\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Transactions (transaction_id int, day date, amount int)",
|
|
"Truncate table Transactions",
|
|
"insert into Transactions (transaction_id, day, amount) values ('8', '2021-4-3 15:57:28', '57')",
|
|
"insert into Transactions (transaction_id, day, amount) values ('9', '2021-4-28 08:47:25', '21')",
|
|
"insert into Transactions (transaction_id, day, amount) values ('1', '2021-4-29 13:28:30', '58')",
|
|
"insert into Transactions (transaction_id, day, amount) values ('5', '2021-4-28 16:39:59', '40')",
|
|
"insert into Transactions (transaction_id, day, amount) values ('6', '2021-4-29 23:39:28', '58')"
|
|
],
|
|
"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\": {\"Transactions\": [\"transaction_id\", \"day\", \"amount\"]}, \"rows\": {\"Transactions\": [[8, \"2021-4-3 15:57:28\", 57], [9, \"2021-4-28 08:47:25\", 21], [1, \"2021-4-29 13:28:30\", 58], [5, \"2021-4-28 16:39:59\", 40], [6, \"2021-4-29 23:39:28\", 58]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |