{"description":"Problem 54\u307e\u305a\u624b\u672d\u3092\u540c\u3058\u6570\u3067\u307e\u3068\u3081\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30bd\u30fc\u30c8\u3057\u3066\u304a\u304f\u3068\u3042\u3068\u3067\u4fbf\u5229\u3067\u3059\u3002\u679a\u6570\u3067\u6bd4\u8f03\u3057\u3066\u540c\u3058\u306a\u3089\u6570\u3067\u6bd4\u8f03\u3057\u307e\u3059\u3002 5H 5C 6S 7S KD -> List((2, 5), (1, 13), (1, 7), (1, 6))\u6b21\u306b\u540c\u3058\u6570\u7cfb\u306e\u5f79\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u8abf\u3079\u307e\u3059\u3002Scala\u306a\u3089\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3067\u7c21\u5358\u306b\u8abf\u3079\u3089\u308c\u307e\u3059\u3002 def rank() :(eHand.Value,List[Int]) = collect match { case List((4,n),(1,m)) => (eHand.FourOfAKind, List(n, m)) case List((3,n),(2,m)\u2026","author_name":"inamori","version":"1.0","published":"2011-09-23 00:00:00","blog_url":"https://inamori.hateblo.jp/","width":"100%","categories":["Scala"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20110923%2Fp1\" title=\"Scala\u3067Project Euler\uff0885\uff09 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://inamori.hateblo.jp/entry/20110923/p1","image_url":null,"title":"Scala\u3067Project Euler\uff0885\uff09","height":"190","blog_title":"inamori\u2019s diary","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inamori/","provider_name":"Hatena Blog"}