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-cn/originData/[no content]new-users-daily-count.json

71 lines
6.1 KiB
JSON
Raw Normal View History

2022-03-27 20:37:52 +08:00
{
"data": {
"question": {
"questionId": "1204",
"questionFrontendId": "1107",
"categoryTitle": "Database",
"boundTopicId": 33149,
"title": "New Users Daily Count",
"titleSlug": "new-users-daily-count",
"content": null,
"translatedTitle": "每日新用户统计",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2023-12-09 18:42:21 +08:00
"likes": 38,
2022-03-27 20:37:52 +08:00
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"13.7K\", \"totalSubmission\": \"33.6K\", \"totalAcceptedRaw\": 13731, \"totalSubmissionRaw\": 33602, \"acRate\": \"40.9%\"}",
2022-03-27 20:37:52 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Traffic\":[\"user_id\",\"activity\",\"activity_date\"]},\"rows\":{\"Traffic\":[[1,\"login\",\"2019-05-01\"],[1,\"homepage\",\"2019-05-01\"],[1,\"logout\",\"2019-05-01\"],[2,\"login\",\"2019-06-21\"],[2,\"logout\",\"2019-06-21\"],[3,\"login\",\"2019-01-01\"],[3,\"jobs\",\"2019-01-01\"],[3,\"logout\",\"2019-01-01\"],[4,\"login\",\"2019-06-21\"],[4,\"groups\",\"2019-06-21\"],[4,\"logout\",\"2019-06-21\"],[5,\"login\",\"2019-03-01\"],[5,\"logout\",\"2019-03-01\"],[5,\"login\",\"2019-06-21\"],[5,\"logout\",\"2019-06-21\"]]}}",
2023-12-09 18:42:21 +08:00
"metaData": "{\"mysql\":[\"Create table If Not Exists Traffic (user_id int, activity ENUM('login', 'logout', 'jobs', 'groups', 'homepage'), activity_date date)\"],\"mssql\":[\"Create table Traffic (user_id int, activity VARCHAR(10) NOT NULL CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)\"],\"oraclesql\":[\"Create table Traffic (user_id int, activity VARCHAR(10) NOT NULL CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"new_users_daily_count\",\"pythondata\":[\"Traffic = pd.DataFrame([], columns=['user_id', 'activity', 'activity_date']).astype({'user_id':'Int64', 'activity':'object', 'activity_date':'datetime64[ns]'})\"],\"manual\":true,\"postgresql\":[\"Create table If Not Exists Traffic (user_id int, activity VARCHAR(30) CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)\\n\"],\"database_schema\":{\"Traffic\":{\"user_id\":\"INT\",\"activity\":\"ENUM('login', 'logout', 'jobs', 'groups', 'homepage')\",\"activity_date\":\"DATE\"}}}",
2022-03-27 20:37:52 +08:00
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Traffic (user_id int, activity ENUM('login', 'logout', 'jobs', 'groups', 'homepage'), activity_date date)",
"Truncate table Traffic",
"insert into Traffic (user_id, activity, activity_date) values ('1', 'login', '2019-05-01')",
"insert into Traffic (user_id, activity, activity_date) values ('1', 'homepage', '2019-05-01')",
"insert into Traffic (user_id, activity, activity_date) values ('1', 'logout', '2019-05-01')",
"insert into Traffic (user_id, activity, activity_date) values ('2', 'login', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('2', 'logout', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('3', 'login', '2019-01-01')",
"insert into Traffic (user_id, activity, activity_date) values ('3', 'jobs', '2019-01-01')",
"insert into Traffic (user_id, activity, activity_date) values ('3', 'logout', '2019-01-01')",
"insert into Traffic (user_id, activity, activity_date) values ('4', 'login', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('4', 'groups', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('4', 'logout', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-03-01')",
"insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-03-01')",
"insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-06-21')",
"insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-06-21')"
],
"enableRunCode": true,
2023-12-09 18:42:21 +08:00
"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>\"]}",
2022-03-27 20:37:52 +08:00
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Traffic\":[\"user_id\",\"activity\",\"activity_date\"]},\"rows\":{\"Traffic\":[[1,\"login\",\"2019-05-01\"],[1,\"homepage\",\"2019-05-01\"],[1,\"logout\",\"2019-05-01\"],[2,\"login\",\"2019-06-21\"],[2,\"logout\",\"2019-06-21\"],[3,\"login\",\"2019-01-01\"],[3,\"jobs\",\"2019-01-01\"],[3,\"logout\",\"2019-01-01\"],[4,\"login\",\"2019-06-21\"],[4,\"groups\",\"2019-06-21\"],[4,\"logout\",\"2019-06-21\"],[5,\"login\",\"2019-03-01\"],[5,\"logout\",\"2019-03-01\"],[5,\"login\",\"2019-06-21\"],[5,\"logout\",\"2019-06-21\"]]}}",
"__typename": "QuestionNode"
}
}
}