{"provider_name":"Hatena Blog","description":"irisrune\u3067\u3059\u3002\u65b0\u3057\u3081\u306eABC-D\u554f\u984c\u3092\u6271\u3046\u306e\u306f\u4e45\u3005\u3067\u3059\u306d\u3002 atcoder.jp \u89e3\u8aac\u3060\u3051\u3067\u30823\u7a2e\u985e\u306e\u89e3\u304d\u65b9\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001 \u4eca\u56de\u7528\u3044\u305f\u89e3\u304d\u65b9\u306f\u7d2f\u7a4d\u548c\u3092\u7528\u3044\u305f\u3057\u3083\u304f\u3068\u308a\u6cd5\u306b\u5c11\u3057\u8fd1\u3044\u89e3\u304d\u65b9\u3067\u3059\u3002\u898b\u305f\u77ac\u9593\u306fUnion-Find\u6728\u4f7f\u3046\u306e\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u3002 package main import ( \"fmt\" ) func maxInt(a, b int) int { switch { case a >= b: return a default: return b } } func main() { var n, k int var str string fmt.Scan(&n, &k, \u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190415%2F1555305086\" title=\"ABC 124-D Handstand \u3092\u7d2f\u7a4d\u548c\u3092\u7528\u3044\u3066\u89e3\u3044\u3066\u307f\u308b(Go) - \u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://ami-atcoder.hatenablog.com/","blog_title":"\u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18","author_url":"https://blog.hatena.ne.jp/amifiable/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553","version":"1.0","title":"ABC 124-D Handstand \u3092\u7d2f\u7a4d\u548c\u3092\u7528\u3044\u3066\u89e3\u3044\u3066\u307f\u308b(Go)","author_name":"amifiable","height":"190","type":"rich","url":"https://ami-atcoder.hatenablog.com/entry/20190415/1555305086","provider_url":"https://hatena.blog","published":"2019-04-15 14:11:26","categories":["\u7af6\u30d7\u30ed","AtCoder","ABC124","D\u554f\u984c","Go"],"width":"100%"}