{"provider_url":"https://hatena.blog","image_url":null,"type":"rich","published":"2011-04-05 20:54:45","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","title":"SRM418 div2 hard","author_name":"a_kawashiro","categories":["topcoder"],"width":"100%","description":"\u30e1\u30e2\u5316\u518d\u5e30\u3059\u308c\u3070\u3044\u3044\u3002 \u3060\u3051\u3069\u3001 rec(m,b,o)\u3067m=o\u304b\u3064m=unitsPerRound\u306a\u72b6\u614b\u306b\u306a\u308b\u3068\u7121\u9650\u30eb\u30fc\u30d7\u3059\u308b\u306e\u3067\u3001\u9014\u4e2d\u3067\u4e2d\u65ad\u3059\u308b\u3088\u3046\u306b if(r==-3) return r=(1<<28); r--; \u3092\u5165\u308c\u3066\u304a\u3044\u305f\u3002 #include <algorithm> #include <cstring> using namespace std; class BarracksEasy { public: int unitsPerRound; int cache[50+1][50+1][100]; int rec(int myUnits,int barHp,int opponentsUn\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110405%2F1302004485\" title=\"SRM418 div2 hard - 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>","height":"190","blog_url":"https://a-kawashiro.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","version":"1.0","url":"https://a-kawashiro.hatenablog.com/entry/20110405/1302004485"}