1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-25 17:50:26 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/算法题(国外版)/[no content]percentage-of-users-attended-a-contest.json
2022-03-27 18:52:06 +08:00

70 lines
4.5 KiB
JSON

{
"data": {
"question": {
"questionId": "1773",
"questionFrontendId": "1633",
"boundTopicId": null,
"title": "Percentage of Users Attended a Contest",
"titleSlug": "percentage-of-users-attended-a-contest",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 47,
"dislikes": 12,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Queries Quality and Percentage\", \"titleSlug\": \"queries-quality-and-percentage\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Users\":[\"user_id\",\"user_name\"],\"Register\":[\"contest_id\",\"user_id\"]},\"rows\":{\"Users\":[[6,\"Alice\"],[2,\"Bob\"],[7,\"Alex\"]],\"Register\":[[215,6],[209,2],[208,2],[210,6],[208,6],[209,7],[209,6],[215,7],[208,7],[210,2],[207,2],[210,7]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"11.2K\", \"totalSubmission\": \"16.2K\", \"totalAcceptedRaw\": 11241, \"totalSubmissionRaw\": 16174, \"acRate\": \"69.5%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Users\":[\"user_id\",\"user_name\"],\"Register\":[\"contest_id\",\"user_id\"]},\"rows\":{\"Users\":[[6,\"Alice\"],[2,\"Bob\"],[7,\"Alex\"]],\"Register\":[[215,6],[209,2],[208,2],[210,6],[208,6],[209,7],[209,6],[215,7],[208,7],[210,2],[207,2],[210,7]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Users (user_id int, user_name varchar(20))\",\n \"Create table If Not Exists Register (contest_id int, user_id int)\"\n ],\n \"mssql\": [\n \"Create table Users (user_id int, user_name varchar(20))\",\n \"Create table Register (contest_id int, user_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Users (user_id int, user_name varchar(20))\",\n \"Create table Register (contest_id int, user_id int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Users (user_id int, user_name varchar(20))",
"Create table If Not Exists Register (contest_id int, user_id int)",
"Truncate table Users",
"insert into Users (user_id, user_name) values ('6', 'Alice')",
"insert into Users (user_id, user_name) values ('2', 'Bob')",
"insert into Users (user_id, user_name) values ('7', 'Alex')",
"Truncate table Register",
"insert into Register (contest_id, user_id) values ('215', '6')",
"insert into Register (contest_id, user_id) values ('209', '2')",
"insert into Register (contest_id, user_id) values ('208', '2')",
"insert into Register (contest_id, user_id) values ('210', '6')",
"insert into Register (contest_id, user_id) values ('208', '6')",
"insert into Register (contest_id, user_id) values ('209', '7')",
"insert into Register (contest_id, user_id) values ('209', '6')",
"insert into Register (contest_id, user_id) values ('215', '7')",
"insert into Register (contest_id, user_id) values ('208', '7')",
"insert into Register (contest_id, user_id) values ('210', '2')",
"insert into Register (contest_id, user_id) values ('207', '2')",
"insert into Register (contest_id, user_id) values ('210', '7')"
],
"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"
}
}
}