1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]the-change-in-global-rankings.json
2022-05-02 23:44:12 +08:00

63 lines
3.7 KiB
JSON

{
"data": {
"question": {
"questionId": "2315",
"questionFrontendId": "2175",
"boundTopicId": null,
"title": "The Change in Global Rankings",
"titleSlug": "the-change-in-global-rankings",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 9,
"dislikes": 5,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": null,
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"1.2K\", \"totalSubmission\": \"1.8K\", \"totalAcceptedRaw\": 1166, \"totalSubmissionRaw\": 1765, \"acRate\": \"66.1%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"TeamPoints\": [\"team_id\", \"name\", \"points\"], \"PointsChange\": [\"team_id\", \"points_change\"]}, \"rows\": {\"TeamPoints\": [[3, \"Algeria\", 1431], [1, \"Senegal\", 2132], [2, \"New Zealand\", 1402], [4, \"Croatia\", 1817]], \"PointsChange\": [[3, 399], [2, 0], [4, 13], [1, -22]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists TeamPoints (team_id int, name varchar(100), points int)\",\n \"Create table If Not Exists PointsChange (team_id int, points_change int)\"\n ],\n \"mssql\": [\n \"Create table TeamPoints (team_id int, name varchar(100), points int)\",\n \"Create table PointsChange (team_id int, points_change int)\"\n ],\n \"oraclesql\": [\n \"Create table TeamPoints (team_id int, name varchar(100), points int)\",\n \"Create table PointsChange (team_id int, points_change int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists TeamPoints (team_id int, name varchar(100), points int)",
"Create table If Not Exists PointsChange (team_id int, points_change int)",
"Truncate table TeamPoints",
"insert into TeamPoints (team_id, name, points) values ('3', 'Algeria', '1431')",
"insert into TeamPoints (team_id, name, points) values ('1', 'Senegal', '2132')",
"insert into TeamPoints (team_id, name, points) values ('2', 'New Zealand', '1402')",
"insert into TeamPoints (team_id, name, points) values ('4', 'Croatia', '1817')",
"Truncate table PointsChange",
"insert into PointsChange (team_id, points_change) values ('3', '399')",
"insert into PointsChange (team_id, points_change) values ('2', '0')",
"insert into PointsChange (team_id, points_change) values ('4', '13')",
"insert into PointsChange (team_id, points_change) values ('1', '-22')"
],
"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"
}
}
}