1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]running-total-for-different-genders.json

62 lines
4.6 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "1439",
"questionFrontendId": "1308",
"boundTopicId": null,
"title": "Running Total for Different Genders",
"titleSlug": "running-total-for-different-genders",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2022-05-02 23:44:12 +08:00
"likes": 137,
2022-03-27 18:27:43 +08:00
"dislikes": 31,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Last Person to Fit in the Bus\", \"titleSlug\": \"last-person-to-fit-in-the-bus\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Scores\":[\"player_name\",\"gender\",\"day\",\"score_points\"]},\"rows\":{\"Scores\":[[\"Aron\",\"F\",\"2020-01-01\",17],[\"Alice\",\"F\",\"2020-01-07\",23],[\"Bajrang\",\"M\",\"2020-01-07\",7],[\"Khali\",\"M\",\"2019-12-25\",11],[\"Slaman\",\"M\",\"2019-12-30\",13],[\"Joe\",\"M\",\"2019-12-31\",3],[\"Jose\",\"M\",\"2019-12-18\",2],[\"Priya\",\"F\",\"2019-12-31\",23],[\"Priyanka\",\"F\",\"2019-12-30\",17]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2022-05-02 23:44:12 +08:00
"stats": "{\"totalAccepted\": \"23.7K\", \"totalSubmission\": \"26.8K\", \"totalAcceptedRaw\": 23673, \"totalSubmissionRaw\": 26828, \"acRate\": \"88.2%\"}",
2022-03-27 18:27:43 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Scores\":[\"player_name\",\"gender\",\"day\",\"score_points\"]},\"rows\":{\"Scores\":[[\"Aron\",\"F\",\"2020-01-01\",17],[\"Alice\",\"F\",\"2020-01-07\",23],[\"Bajrang\",\"M\",\"2020-01-07\",7],[\"Khali\",\"M\",\"2019-12-25\",11],[\"Slaman\",\"M\",\"2019-12-30\",13],[\"Joe\",\"M\",\"2019-12-31\",3],[\"Jose\",\"M\",\"2019-12-18\",2],[\"Priya\",\"F\",\"2019-12-31\",23],[\"Priyanka\",\"F\",\"2019-12-30\",17]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Scores (player_name varchar(20), gender varchar(1), day date, score_points int)\"\n ],\n \"mssql\": [\n \"Create table Scores (player_name varchar(20), gender varchar(1), day date, score_points int)\"\n ],\n \"oraclesql\": [\n \"Create table Scores (player_name varchar(20), gender varchar(1), day date, score_points 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 Scores (player_name varchar(20), gender varchar(1), day date, score_points int)",
"Truncate table Scores",
"insert into Scores (player_name, gender, day, score_points) values ('Aron', 'F', '2020-01-01', '17')",
"insert into Scores (player_name, gender, day, score_points) values ('Alice', 'F', '2020-01-07', '23')",
"insert into Scores (player_name, gender, day, score_points) values ('Bajrang', 'M', '2020-01-07', '7')",
"insert into Scores (player_name, gender, day, score_points) values ('Khali', 'M', '2019-12-25', '11')",
"insert into Scores (player_name, gender, day, score_points) values ('Slaman', 'M', '2019-12-30', '13')",
"insert into Scores (player_name, gender, day, score_points) values ('Joe', 'M', '2019-12-31', '3')",
"insert into Scores (player_name, gender, day, score_points) values ('Jose', 'M', '2019-12-18', '2')",
"insert into Scores (player_name, gender, day, score_points) values ('Priya', 'F', '2019-12-31', '23')",
"insert into Scores (player_name, gender, day, score_points) values ('Priyanka', 'F', '2019-12-30', '17')"
],
"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"
}
}
}