{"width":"100%","blog_url":"https://sune2.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsune2.hatenadiary.org%2Fentry%2F20120419%2F1334842579\" title=\"2157 - Dial Lock - \u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0+\u03b1\u306a\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>","url":"https://sune2.hatenadiary.org/entry/20120419/1334842579","version":"1.0","type":"rich","author_name":"sune2","title":"2157 - Dial Lock","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2012-04-19 22:36:19","blog_title":"\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0+\u03b1\u306a\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/sune2/","height":"190","categories":["AOJ"],"description":"\u554f\u984c 0~9\u306e\u6570\u5b57\u304c\u66f8\u304b\u308c\u305fk\u500b\u306e\u30c0\u30a4\u30a2\u30eb\u304c\u3042\u308b\u9375\u3092\u8003\u3048\u308b\u3002 \u9023\u7d9a\u3059\u308b\u30c0\u30a4\u30a2\u30eb\u3092\u540c\u3058\u65b9\u5411\u306b\u540c\u3058\u6570\u3060\u3051\u56de\u3059\u52d5\u4f5c\u3092\uff11\u624b\u3068\u3059\u308b\u3002 \u3053\u306e\u3068\u304d\u30c0\u30a4\u30a2\u30eb\u3092\u521d\u671f\u72b6\u614bs\u304b\u3089\u76ee\u6a19\u72b6\u614bt\u306b\u3059\u308b\u624b\u6570\u3092\u6c42\u3081\u3088\u3002 \u5236\u7d04 1 \u89e3\u6cd5 \u307e\u305a\u56de\u3059\u9806\u756a\u306f\u95a2\u4fc2\u304c\u306a\u3044\u306e\u3067\u5de6\u304b\u3089\u6570\u5b57\u3092\u5408\u308f\u305b\u3066\u3044\u304f\u3053\u3068\u3092\u30a4\u30e1\u30fc\u30b8\u3059\u308b\u3002 \u3053\u306e\u3068\u304d\u3001\u73fe\u5728\u306e\u30c0\u30a4\u30a2\u30eb\u3092\u76ee\u6a19\u72b6\u614b\u4ee5\u5916\u3059\u308b\u610f\u5473\u306f\u306a\u3044\u306e\u3067\u3001\u76ee\u6a19\u72b6\u614b\u306b\u3059\u308b\u5206\u3060\u3051\u56de\u3059\u3002 \u305f\u3060\u3057\u3001\u3069\u308c\u3060\u3051\u306e\u6570\u306e\u30c0\u30a4\u30a2\u30eb\u3092\u4e00\u7dd2\u306b\u56de\u305b\u3070\u3044\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u305d\u308c\u306f\u5168\u90e8\u8a66\u3059\u3002 \u679d\u5208\u308aDFS\u3067\u89e3\u3044\u305f\u3051\u3069BFS\u3067\u826f\u304b\u3063\u305f\u3068\u601d\u3046\u3002 \u30bd\u30fc\u30b9 int k; string t; int mi; int solve(const string\u2026"}