{"published":"2013-06-11 22:59:17","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotaks.hatenadiary.org%2Fentry%2F20130611%2F1370959157\" title=\"\u554f\u984cD Hexagram - \u3072\u3088\u3063\u3053\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3072\u3088\u3063\u3053\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","author_url":"https://blog.hatena.ne.jp/otaks/","author_name":"otaks","type":"rich","categories":["\u5408\u540c\u7df4\u7fd2\u4f1a"],"version":"1.0","image_url":null,"title":"\u554f\u984cD Hexagram","provider_name":"Hatena Blog","description":"\u554f\u984c\u6587(ACM-ICPC Live Archive) \u89e3\u6cd5DFS(\u6df1\u3055\u512a\u5148\u63a2\u7d22)\u3067\u3059\u300212\u500b\u306e\u6570\u5b57\u306e\u5408\u8a08\u304c3\u306e\u500d\u6570\u306b\u306a\u3089\u306a\u3044\u3068\u304d\u3084\u76f4\u7dda4\u3064\u306e\u6570\u5b57\u304c3\u306e\u500d\u6570\u306b\u306a\u3089\u306a\u3044\u3068\u304d\u306b\u679d\u5208\u308a\u3067\u304d\u307e\u3059\u3002\u6570\u5b57\u304c\u5168\u90e8\u7570\u306a\u308b\u305f\u3081\u56de\u8ee2\u30fb\u5bfe\u79f0\u306e\u3082\u306e\u306f\u5168\u90e8\u306712\u901a\u308a\u3042\u308b\u306e\u3067\u3001\u91cd\u8907\u3057\u3066\u6570\u3048\u4e0a\u3052\u3066\u6700\u5f8c\u306b12\u3067\u5272\u308b\u3068\u3088\u3044\u3067\u3059\u3002\u30b3\u30fc\u30c9(C++) #include <iostream> using namespace std; int a[12], b[12], sum, line; bool memo[12]; int dfs(int pos = 0){ // \u5408\u8a08\u304c 3 \u306e\u500d\u6570\u3067\u306a\u3044\u3068\u304d\u306f\u89e3\u306f 0 if( sum % 3 !=\u2026","provider_url":"https://hatena.blog","width":"100%","height":"190","blog_url":"https://otaks.hatenadiary.org/","url":"https://otaks.hatenadiary.org/entry/20130611/1370959157"}