mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
60 lines
3.6 KiB
JSON
60 lines
3.6 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2446",
|
|
"questionFrontendId": "2314",
|
|
"boundTopicId": null,
|
|
"title": "The First Day of the Maximum Recorded Degree in Each City",
|
|
"titleSlug": "the-first-day-of-the-maximum-recorded-degree-in-each-city",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 5,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\": {\"Weather\": [\"city_id\", \"day\", \"degree\"]}, \"rows\": {\"Weather\": [[1, \"2022-01-07\", -12], [1, \"2022-03-07\", 5], [1, \"2022-07-07\", 24], [2, \"2022-08-07\", 37], [2, \"2022-08-17\", 37], [3, \"2022-02-07\", -7], [3, \"2022-12-07\", -6]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"242\", \"totalSubmission\": \"306\", \"totalAcceptedRaw\": 242, \"totalSubmissionRaw\": 306, \"acRate\": \"79.1%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Weather\": [\"city_id\", \"day\", \"degree\"]}, \"rows\": {\"Weather\": [[1, \"2022-01-07\", -12], [1, \"2022-03-07\", 5], [1, \"2022-07-07\", 24], [2, \"2022-08-07\", 37], [2, \"2022-08-17\", 37], [3, \"2022-02-07\", -7], [3, \"2022-12-07\", -6]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Weather (city_id int, day date, degree int)\"\n ],\n \"mssql\": [\n \"Create table Weather (city_id int, day date, degree int)\"\n ],\n \"oraclesql\": [\n \"Create table Weather (city_id int, day date, degree int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Weather (city_id int, day date, degree int)",
|
|
"Truncate table Weather",
|
|
"insert into Weather (city_id, day, degree) values ('1', '2022-01-07', '-12')",
|
|
"insert into Weather (city_id, day, degree) values ('1', '2022-03-07', '5')",
|
|
"insert into Weather (city_id, day, degree) values ('1', '2022-07-07', '24')",
|
|
"insert into Weather (city_id, day, degree) values ('2', '2022-08-07', '37')",
|
|
"insert into Weather (city_id, day, degree) values ('2', '2022-08-17', '37')",
|
|
"insert into Weather (city_id, day, degree) values ('3', '2022-02-07', '-7')",
|
|
"insert into Weather (city_id, day, degree) values ('3', '2022-12-07', '-6')"
|
|
],
|
|
"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>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |