{"id":4033,"date":"2023-11-03T11:00:25","date_gmt":"2023-11-03T03:00:25","guid":{"rendered":"https:\/\/white-night.club\/?p=4033"},"modified":"2023-11-09T11:07:43","modified_gmt":"2023-11-09T03:07:43","slug":"ad123","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/11\/03\/ad123\/","title":{"rendered":"610.\u00a0\u5224\u65ad\u4e09\u89d2\u5f62"},"content":{"rendered":"\n<p>\u8868:\u00a0<code>Triangle<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">+-------------+------+\n| Column Name | Type |\n+-------------+------+\n| x           | int  |\n| y           | int  |\n| z           | int  |\n+-------------+------+\n\u5728 SQL \u4e2d\uff0c(x, y, z)\u662f\u8be5\u8868\u7684\u4e3b\u952e\u5217\u3002\n\u8be5\u8868\u7684\u6bcf\u4e00\u884c\u5305\u542b\u4e09\u4e2a\u7ebf\u6bb5\u7684\u957f\u5ea6\u3002\n<\/pre>\n\n\n\n<p>\u5bf9\u6bcf\u4e09\u4e2a\u7ebf\u6bb5\u62a5\u544a\u5b83\u4eec\u662f\u5426\u53ef\u4ee5\u5f62\u6210\u4e00\u4e2a\u4e09\u89d2\u5f62\u3002<\/p>\n\n\n\n<p>\u4ee5&nbsp;<strong>\u4efb\u610f\u987a\u5e8f&nbsp;<\/strong>\u8fd4\u56de\u7ed3\u679c\u8868\u3002<\/p>\n\n\n\n<p>\u67e5\u8be2\u7ed3\u679c\u683c\u5f0f\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b 1:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>\u8f93\u5165:<\/strong> \nTriangle \u8868:\n+----+----+----+\n| x  | y  | z  |\n+----+----+----+\n| 13 | 15 | 30 |\n| 10 | 20 | 15 |\n+----+----+----+\n<strong>\u8f93\u51fa:<\/strong> \n+----+----+----+----------+\n| x  | y  | z  | triangle |\n+----+----+----+----------+\n| 13 | 15 | 30 | No       |\n| 10 | 20 | 15 | Yes      |\n+----+----+----+----------+<\/pre>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote has-luminous-vivid-amber-color has-text-color\">\n<p>\u89e3\u9898\u601d\u8def<\/p>\n<cite><em>CASE END<\/em><\/cite><\/blockquote>\n\n\n\n<p>\u8fd9\u624d\u662f\u7b80\u5355\u9898\u561b\u3002\u521a\u521a\u90a3\u9898\u662f\u4ec0\u4e48\u73a9\u610f\u3002\u521a\u597d\u6628\u5929\u5b66\u4e86\u4e0bCASE&#8230;.END\u7684\u7528\u6cd5\uff0c\u8fd9\u91cc\u518d\u5de9\u56fa\u5de9\u56fa\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Write your MySQL query statement below\r\nSELECT x,y,z,\r\nCASE\r\nWHEN x+y>z AND x+z>y AND y+z>x THEN 'Yes'\r\nELSE 'No'\r\nEND AS triangle\r\nFROM Triangle<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Leetcode\u9898\u76ee\uff1aCASE END<\/p>\n","protected":false},"author":1,"featured_media":2827,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[42,25],"tags":[38],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/4033"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=4033"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/4033\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/2827"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=4033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=4033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=4033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}