{"author_url":"https://blog.hatena.ne.jp/amifiable/","categories":["\u7af6\u30d7\u30ed","AtCoder","ABC131","C\u554f\u984c","300\u70b9","Go"],"published":"2019-06-24 14:55:58","height":"190","type":"rich","blog_title":"\u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190624%2F1561355758\" title=\"AtCoder ABC 131 C - Anti-Division (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>","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553","url":"https://ami-atcoder.hatenablog.com/entry/20190624/1561355758","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","author_name":"amifiable","title":"AtCoder ABC 131 C - Anti-Division (Go)","blog_url":"https://ami-atcoder.hatenablog.com/","description":"irisrune\u3067\u3059\u3002\u4e45\u3005\u306b\u30b3\u30f3\u30c6\u30b9\u30c8\u306b\u53c2\u52a0\u3057\u305f\u7d50\u679c\u30015\u5b8c\u30671242\u21921292\u3068\u30ec\u30fc\u30c8\u304c\u4f38\u3073\u307e\u3057\u305f\u3002 \u554f\u984c atcoder.jp \u5178\u578b\u30c6\u30af\u30cb\u30c3\u30af\u306e\u5bc4\u305b\u96c6\u3081\u306e\u3088\u3046\u306a\u554f\u984c\u3060\u3068\u601d\u3044\u307e\u3059\u3002 \u306a\u304a\u3001\u30b3\u30f3\u30c6\u30b9\u30c8\u672c\u756a\u3067Python\u3092\u4f7f\u3046\u5ea6\u80f8\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u4e45\u3005\u306bGo\u8a00\u8a9e\u3067\u66f8\u3044\u3066\u304a\u308a\u307e\u3059\u3002 package main import ( \"bufio\" \"fmt\" \"os\" \"strconv\" ) var sc *bufio.Scanner func nextInt() int { sc.Scan() i, e := strconv.Atoi(sc.Text()) if e != nil { panic(e) } \u2026"}