2022-03-27 20:46:41 +08:00
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"question": {
|
|
|
|
"questionId": "585",
|
|
|
|
"questionFrontendId": "585",
|
|
|
|
"categoryTitle": "Database",
|
|
|
|
"boundTopicId": 2643,
|
|
|
|
"title": "Investments in 2016",
|
|
|
|
"titleSlug": "investments-in-2016",
|
|
|
|
"content": null,
|
|
|
|
"translatedTitle": "2016年的投资",
|
|
|
|
"translatedContent": null,
|
|
|
|
"isPaidOnly": true,
|
|
|
|
"difficulty": "Medium",
|
|
|
|
"likes": 51,
|
|
|
|
"dislikes": 0,
|
|
|
|
"isLiked": null,
|
|
|
|
"similarQuestions": "[]",
|
|
|
|
"contributors": [],
|
|
|
|
"langToValidPlayground": null,
|
|
|
|
"topicTags": [
|
|
|
|
{
|
|
|
|
"name": "Database",
|
|
|
|
"slug": "database",
|
|
|
|
"translatedName": "数据库",
|
|
|
|
"__typename": "TopicTagNode"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"companyTagStats": null,
|
|
|
|
"codeSnippets": null,
|
2022-05-02 23:44:12 +08:00
|
|
|
"stats": "{\"totalAccepted\": \"11.6K\", \"totalSubmission\": \"21.6K\", \"totalAcceptedRaw\": 11561, \"totalSubmissionRaw\": 21583, \"acRate\": \"53.6%\"}",
|
2022-03-27 20:46:41 +08:00
|
|
|
"hints": [
|
|
|
|
"Make the (LAT, LON) a pair to represent the location information"
|
|
|
|
],
|
|
|
|
"solution": null,
|
|
|
|
"status": null,
|
2022-05-02 23:44:12 +08:00
|
|
|
"sampleTestCase": "{\"headers\":{\"insurance\":[\"PID\",\"TIV_2015\",\"TIV_2016\",\"LAT\",\"LON\"]},\"rows\":{\"insurance\":[[1,10,5,10,10],[2,20,20,20,20],[3,10,30,20,20],[4,10,40,40,40]]}}",
|
2022-03-27 20:46:41 +08:00
|
|
|
"metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"mssql\": [\n \"Create Table Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"oraclesql\": [\n \"Create Table Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"database\": true\n}",
|
|
|
|
"judgerAvailable": true,
|
|
|
|
"judgeType": "large",
|
|
|
|
"mysqlSchemas": [
|
|
|
|
"Create Table If Not Exists Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)",
|
|
|
|
"Truncate table Insurance",
|
|
|
|
"insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('1', '10', '5', '10', '10')",
|
|
|
|
"insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('2', '20', '20', '20', '20')",
|
|
|
|
"insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('3', '10', '30', '20', '20')",
|
|
|
|
"insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('4', '10', '40', '40', '40')"
|
|
|
|
],
|
|
|
|
"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>\"]}",
|
|
|
|
"book": null,
|
|
|
|
"isSubscribed": false,
|
|
|
|
"isDailyQuestion": false,
|
|
|
|
"dailyRecordStatus": null,
|
|
|
|
"editorType": "CKEDITOR",
|
|
|
|
"ugcQuestionId": null,
|
|
|
|
"style": "LEETCODE",
|
|
|
|
"exampleTestcases": "{\"headers\":{\"Insurance\":[\"pid\",\"tiv_2015\",\"tiv_2016\",\"lat\",\"lon\"]},\"rows\":{\"Insurance\":[[1,10,5,10,10],[2,20,20,20,20],[3,10,30,20,20],[4,10,40,40,40]]}}",
|
|
|
|
"__typename": "QuestionNode"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|