{"description":"\u3054\u7121\u6c99\u6c70\u3057\u3066\u3044\u307e\u3059\u3002 \u4e45\u3005\u306b\u52c9\u5f37\u306e\u6210\u679c\u306a\u3069\u66f8\u304d\u9023\u306d\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u307e\u305a\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u30c1\u30e3\u30ec\u30f3\u30b8\u30d6\u30c3\u30af\u306e\u6f14\u7fd2\u3092\u3053\u306a\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u8a00\u8a9e\u306fRuby\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u4eca\u56de\u306e\u304a\u984c\u306f\u3053\u3061\u3089 lengths = [10, 2, 3, 4, 5] #input lengths.sort!{|a, b| b <=> a} $triangle = [0, 0, 0] def isTriangleConditionOK?(edge1, edge2, edge3) return edge1 + edge2 > edge3 end def isTriangle?(length) return isTr\u2026","author_url":"https://blog.hatena.ne.jp/anton0825/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20101224%2F1293202702\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u30c1\u30e3\u30ec\u30f3\u30b8\u30d6\u30c3\u30af\u6f14\u7fd2\u300c\u4e09\u89d2\u5f62\u300d - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/a/anton0825/20101224/20101224232148.jpg","blog_title":"\u65e5\u3005\u7cbe\u9032","type":"rich","published":"2010-12-24 23:58:22","provider_name":"Hatena Blog","version":"1.0","categories":["IT"],"title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u30c1\u30e3\u30ec\u30f3\u30b8\u30d6\u30c3\u30af\u6f14\u7fd2\u300c\u4e09\u89d2\u5f62\u300d","url":"https://anton0825.hatenablog.com/entry/20101224/1293202702","author_name":"anton0825","blog_url":"https://anton0825.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog"}