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-cn/originData/[no content]all-valid-triplets-that-can-represent-a-country.json

66 lines
5.3 KiB
JSON

{
"data": {
"question": {
"questionId": "1763",
"questionFrontendId": "1623",
"categoryTitle": "Database",
"boundTopicId": 451071,
"title": "All Valid Triplets That Can Represent a Country",
"titleSlug": "all-valid-triplets-that-can-represent-a-country",
"content": null,
"translatedTitle": "三人国家代表队",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 19,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"6.6K\", \"totalSubmission\": \"8.4K\", \"totalAcceptedRaw\": 6577, \"totalSubmissionRaw\": 8378, \"acRate\": \"78.5%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"SchoolA\":[\"student_id\",\"student_name\"],\"SchoolB\":[\"student_id\",\"student_name\"],\"SchoolC\":[\"student_id\",\"student_name\"]},\"rows\":{\"SchoolA\":[[1,\"Alice\"],[2,\"Bob\"]],\"SchoolB\":[[3,\"Tom\"]],\"SchoolC\":[[3,\"Tom\"],[2,\"Jerry\"],[10,\"Alice\"]]}}",
"metaData": "{\"mysql\":[\"Create table If Not Exists SchoolA (student_id int, student_name varchar(20))\",\"Create table If Not Exists SchoolB (student_id int, student_name varchar(20))\",\"Create table If Not Exists SchoolC (student_id int, student_name varchar(20))\"],\"mssql\":[\"Create table SchoolA (student_id int, student_name varchar(20))\",\"Create table SchoolB (student_id int, student_name varchar(20))\",\"Create table SchoolC (student_id int, student_name varchar(20))\"],\"oraclesql\":[\"Create table SchoolA (student_id int, student_name varchar(20))\",\"Create table SchoolB (student_id int, student_name varchar(20))\",\"Create table SchoolC (student_id int, student_name varchar(20))\"],\"database\":true,\"name\":\"find_valid_triplets\",\"pythondata\":[\"SchoolA = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\",\"SchoolB = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\",\"SchoolC = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\"],\"postgresql\":[\"\\nCreate table If Not Exists SchoolA (student_id int, student_name varchar(20))\\n\",\"\\nCreate table If Not Exists SchoolB (student_id int, student_name varchar(20))\\n\",\"\\nCreate table If Not Exists SchoolC (student_id int, student_name varchar(20))\\n\"],\"database_schema\":{\"SchoolA\":{\"student_id\":\"INT\",\"student_name\":\"VARCHAR(20)\"},\"SchoolB\":{\"student_id\":\"INT\",\"student_name\":\"VARCHAR(20)\"},\"SchoolC\":{\"student_id\":\"INT\",\"student_name\":\"VARCHAR(20)\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists SchoolA (student_id int, student_name varchar(20))",
"Create table If Not Exists SchoolB (student_id int, student_name varchar(20))",
"Create table If Not Exists SchoolC (student_id int, student_name varchar(20))",
"Truncate table SchoolA",
"insert into SchoolA (student_id, student_name) values ('1', 'Alice')",
"insert into SchoolA (student_id, student_name) values ('2', 'Bob')",
"Truncate table SchoolB",
"insert into SchoolB (student_id, student_name) values ('3', 'Tom')",
"Truncate table SchoolC",
"insert into SchoolC (student_id, student_name) values ('3', 'Tom')",
"insert into SchoolC (student_id, student_name) values ('2', 'Jerry')",
"insert into SchoolC (student_id, student_name) values ('10', 'Alice')"
],
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"SchoolA\":[\"student_id\",\"student_name\"],\"SchoolB\":[\"student_id\",\"student_name\"],\"SchoolC\":[\"student_id\",\"student_name\"]},\"rows\":{\"SchoolA\":[[1,\"Alice\"],[2,\"Bob\"]],\"SchoolB\":[[3,\"Tom\"]],\"SchoolC\":[[3,\"Tom\"],[2,\"Jerry\"],[10,\"Alice\"]]}}",
"__typename": "QuestionNode"
}
}
}