{"blog_url":"https://ami-atcoder.hatenablog.com/","title":"AtCoder ABC 132 D - Blue and Red Balls (Kotlin)","version":"1.0","provider_url":"https://hatena.blog","categories":["\u7af6\u30d7\u30ed","AtCoder","ABC132","D\u554f\u984c","400\u70b9","Kotlin"],"author_url":"https://blog.hatena.ne.jp/amifiable/","published":"2019-07-01 14:55:35","provider_name":"Hatena Blog","blog_title":"\u3042\u308b\u30a8\u30f3\u30b8\u30cb\u30a2\u306eAtCoder\u596e\u95d8\u8a18","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190701%2F1561960535\" title=\"AtCoder ABC 132 D - Blue and Red Balls (Kotlin) - \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>","width":"100%","author_name":"amifiable","description":"irisrune\u3067\u3059\u3002\u6b8b\u5ff5\u306a\u304c\u3089\u4eca\u56de\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306f\u4e0d\u53c2\u52a0\u3067\u3057\u305f\u3001\u554f\u984c\u3092\u898b\u308b\u3068D\u554f\u984c\u4ee5\u964d\u304c\u304b\u306a\u308a\u96e3\u3057\u304f\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u306d\u3002 \u554f\u984c atcoder.jp \u8003\u5bdf\uff08+\u5270\u4f59\u5468\u308a\u306e\u5b9f\u88c5\uff09\u9762\u306e\u554f\u984c\u3067\u3059\u304c\u3001ABC\u304c\u65b0\u5f62\u5f0f\u306b\u306a\u3063\u3066\u4ee5\u964d\u306eD\u554f\u984c\u3068\u3057\u3066\u306f\u304b\u306a\u308a\u96e3\u3057\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u3057Python\u306a\u3069\u3092\u4f7f\u3046\u5834\u5408\u306f\u5b9f\u884c\u6642\u9593\u306b\u4f59\u88d5\u304c\u3042\u308b\u3053\u3068\u304c\u6551\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff08\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\u3092\u4f7f\u3046\u5834\u5408\u306f\u4f59\u88d5\u304c\u306a\u3044\u3088\u3046\u3067\u3059\uff09\u3002 const val MOD = 1000000007 fun COMinit(m: Int): Pair<List<Long>, List<Long>> { val fac = mutableListOf(1L\u2026","type":"rich","url":"https://ami-atcoder.hatenablog.com/entry/20190701/1561960535","height":"190"}