{"provider_name":"Hatena Blog","author_name":"a_kawashiro","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","blog_url":"https://a-kawashiro.hatenablog.com/","description":"\u4e00\u756a\u4e0b\u306e\u5217\u3092\u6c7a\u3081\u305f\u3089\u5168\u90e8\u6c7a\u307e\u308b\u3002 \u4e00\u756a\u4e0b\u306e\u5217\u306e\u8981\u7d20\u306f{1,5,10,10,5,1}\u500d\u3055\u308c\u305f\u548c\u304ctop\u306b\u7b49\u3057\u304f\u306a\u308b\u3002 \u3053\u308c\u306f\u4e8c\u9805\u4fc2\u6570\u3002 \u3058\u3083\u3042\u30ca\u30c3\u30d7\u30b5\u30c3\u30af\u3067\u304d\u308b\u3058\u3083\u3093\u3002 \u3053\u3053\u3067\u30aa\u30fc\u30c0\u30fc\u3092\u4e0b\u3052\u304d\u308c\u305a\u306bTLE\u3002 \u3069\u306e\u8981\u7d20\u3082\u6b63\u306a\u306e\u3067baseLength\u304c\u3042\u308b\u7a0b\u5ea6\u5927\u304d\u304f\u306a\u3063\u305f\u3089\u5f3e\u3044\u3061\u3083\u3063\u3066OK\u3002 #include <vector> typedef long long LL; using namespace std; LL DP[1000000+10][2]; class NumberPyramids { public: int count(int baseLength, int top) { int C\u2026","version":"1.0","url":"https://a-kawashiro.hatenablog.com/entry/20110422/1303472041","title":"SRM459 div1 medium","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110422%2F1303472041\" title=\"SRM459 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>","provider_url":"https://hatena.blog","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","categories":["topcoder"],"type":"rich","published":"2011-04-22 20:34:01","height":"190","image_url":null}