{"height":"190","categories":["topcoder"],"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","published":"2011-04-28 21:30:35","width":"100%","author_name":"a_kawashiro","provider_name":"Hatena Blog","title":"SRM449 div1 medium","version":"1.0","provider_url":"https://hatena.blog","type":"rich","url":"https://a-kawashiro.hatenablog.com/entry/20110428/1303993835","description":"\u9811\u5f35\u3063\u305f\u3002long long \u3092int\u306b\u5909\u3048\u308b\u3068\u3061\u3087\u3063\u3068\u5b9f\u884c\u6642\u9593\u304c\u77ed\u304f\u306a\u308b\u3002 #include <vector> #include <cstdio> #include <cstring> using namespace std; typedef long long LL; int offset=8; int cache[17+5][(1<<17)]; class HexagonalBattlefield { public: int N; int field[17+5][17+5]; int DFS(int x,int y) { LL r=0; if(x==17) { int m=0; for(\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110428%2F1303993835\" title=\"SRM449 div1 medium - a_kawashiro\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>","blog_url":"https://a-kawashiro.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","image_url":null}