2022-03-27 20:45:09 +08:00
|
|
|
{
|
|
|
|
"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": 13,
|
|
|
|
"dislikes": 0,
|
|
|
|
"isLiked": null,
|
|
|
|
"similarQuestions": "[]",
|
|
|
|
"contributors": [],
|
|
|
|
"langToValidPlayground": null,
|
|
|
|
"topicTags": [
|
|
|
|
{
|
|
|
|
"name": "Database",
|
|
|
|
"slug": "database",
|
|
|
|
"translatedName": "数据库",
|
|
|
|
"__typename": "TopicTagNode"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"companyTagStats": null,
|
|
|
|
"codeSnippets": null,
|
2022-05-02 23:44:12 +08:00
|
|
|
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 4549, \"totalSubmissionRaw\": 5816, \"acRate\": \"78.2%\"}",
|
2022-03-27 20:45:09 +08:00
|
|
|
"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": "{\n \"mysql\": [\n \"Create table If Not Exists SchoolA (student_id int, student_name varchar(20))\",\n \"Create table If Not Exists SchoolB (student_id int, student_name varchar(20))\",\n \"Create table If Not Exists SchoolC (student_id int, student_name varchar(20))\"\n ],\n \"mssql\": [\n \"Create table SchoolA (student_id int, student_name varchar(20))\",\n \"Create table SchoolB (student_id int, student_name varchar(20))\",\n \"Create table SchoolC (student_id int, student_name varchar(20))\"\n ],\n \"oraclesql\": [\n \"Create table SchoolA (student_id int, student_name varchar(20))\",\n \"Create table SchoolB (student_id int, student_name varchar(20))\",\n \"Create table SchoolC (student_id int, student_name varchar(20))\"\n ],\n \"database\": true\n}",
|
|
|
|
"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>\"]}",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|