{"categories":["Grundy\u6570","\u5206\u5272\u6570","\u30d3\u30c3\u30c8DP"],"blog_url":"https://par.hateblo.jp/","description":"\u30cb\u30e0\u306e\u30eb\u30fc\u30eb\u3092\u5c11\u3057\u5909\u3048\u305f\u30b2\u30fc\u30e0\u306e\u52dd\u6557\u3092\u77e5\u308a\u305f\u3044\u3002\u77f3\u306e\u5c71\u306e\u72b6\u614b\u306e\u6570\u3068\u305d\u306e\u72b6\u614b\u306e\u9077\u79fb\u306e\u6570\u304c\u5341\u5206\u5c0f\u304f\u8868\u305b\u308c\u3070\u3001Grundy\u6570\u3084\u308b\u3060\u3051\u3002\u5c71\u306e\u72b6\u614b\u3092\u9069\u5207\u306b\u8868\u3057\u305f\u3044\u3002\u611a\u76f4\u306b\u8003\u3048\u308c\u3070\u5c71\u306e\u72b6\u614b=(\u77f3\u306e\u500b\u6570, 1~60\u306e\u3046\u3061\u53d6\u308a\u9664\u3044\u305f\u3053\u3068\u306e\u3042\u308b\u500b\u6570\u306b\u3064\u3044\u3066\u306e\u30d5\u30e9\u30b0)\u305f\u3068\u3048\u3070s[0] = 10\u3068\u3057\u3088\u3046\u3002\u3053\u306e\u5c71\u306e\u72b6\u614b\u306f(10, \u307e\u3060\u77f3\u3092\u53d6\u308a\u9664\u3044\u3066\u3044\u306a\u3044)\u3067\u3042\u308a\u3001\u3053\u3053\u304b\u3089\u77f3\u30924\u500b\u53d6\u308b\u3068(10-4, \u77f3\u30924\u500b\u53d6\u308a\u9664\u3044\u305f\u3053\u3068\u304c\u3042\u308b)\u3053\u306e\u72b6\u614b\u304b\u3089\u3082\u3046\u4e00\u5ea6\u77f3\u30924\u500b\u53d6\u308a\u9664\u304f\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002\u66f4\u306b\u77f3\u30922\u500b\u53d6\u308a\u9664\u3044\u3066\u307f\u308b\u3068(10-4-2, \u77f3\u30924\u500b\u30012\u500b\u53d6\u308a\u9664\u3044\u305f\u3053\u3068\u304c\u3042\u308b)\u3053\u306e\u3068\u304d\u77f3\u306e\u5c71\u304b\u3089\u306f4\u500b\u30822\u500b\u3082\u53d6\u308a\u9664\u304f\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002\u3053\u2026","title":"Codeforces #399 E: Game of Stones","url":"https://par.hateblo.jp/entry/2017/02/22/182138","provider_name":"Hatena Blog","author_name":"parukii","type":"rich","author_url":"https://blog.hatena.ne.jp/parukii/","provider_url":"https://hatena.blog","version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpar.hateblo.jp%2Fentry%2F2017%2F02%2F22%2F182138\" title=\"Codeforces #399 E: Game of Stones - paruki\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-02-22 18:21:38","blog_title":"paruki\u306e\u30d6\u30ed\u30b0","image_url":null,"width":"100%"}