{"type":"rich","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_url":"https://hatena.blog","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","url":"https://blog.hamayanhamayan.com/entry/2017/12/07/023434","published":"2017-12-07 02:34:34","version":"1.0","title":"Digit Permutation [CSAcademy #60 C]","width":"100%","description":"https://csacademy.com/contest/round-60/task/digit-permutation/N\u500b\u306e\u6570\u304c\u3042\u308b\u3002 \u305d\u308c\u305e\u308cK\u9032\u6570\u3067M\u6841\u3067\u3042\u308b\u3002 \u3053\u3053\u30670\uff5e(K-1)\u306e\u9806\u5217p\u3092\u7528\u610f\u3059\u308b\u3002 \u5168\u3066\u306e\u6570\u306e\u5168\u3066\u306e\u6841\u306e\u6570\u3092\u9806\u5217p\u306b\u3088\u3063\u3066\u7f6e\u63db\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u6761\u4ef6\u3092\u307f\u305f\u3059\u3088\u3046\u306b\u305b\u3088\u3002 0\u304b\u3089\u59cb\u307e\u308b\u6570\u3067\u306f\u306a\u3044 N\u500b\u306e\u6570\u304c\u72ed\u7fa9\u5358\u8abf\u5897\u52a0\u3057\u3066\u3044\u308b\uff08\u72ed\u7fa9\u306a\u306e\u3067\u7b49\u3057\u3044\u3068\u30c0\u30e1\uff09 \u7f6e\u63db\u3057\u3066\u3082\u6761\u4ef6\u3092\u6e80\u305f\u305b\u306a\u3044\u306a\u3089\"-1\" \u203b \u9806\u5217p\u306b\u3088\u3063\u3066\u7f6e\u63db\u3068\u306f\u300ci\u6841\u76ee\u306e\u6570\u304ca\u3067\u3042\u308b\u306a\u3089\u3001\u3053\u308c\u3092p[a]\u306b\u5909\u3048\u308b\u300d\u3053\u3068\u3092\u6307\u3059","height":"190","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","author_name":"hamayanhamayan","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2017%2F12%2F07%2F023434\" title=\"Digit Permutation [CSAcademy #60 C] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" 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":null,"blog_url":"https://blog.hamayanhamayan.com/"}