{"description":"\u304a\u91d1\u304c500\u3057\u304b\u306a\u3044\u3068\u3053\u308d\u304c\u306a\u3093\u3060\u304bDP\u81ed\u3044\u306e\u3067DP\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u8003\u3048\u308b\u3002 \u3060\u3044\u305f\u3044\u51fa\u6765\u308b\u3051\u306911\u306e\u500d\u6570\u3063\u3066\u3044\u3046\u5236\u7d04\u304c\u5384\u4ecb\u3002 \"11\u306e\u500d\u6570\"\u3067\u691c\u7d22\u3059\u308b\u3068 a*1000+b*100+c*10+d\u3068\u3044\u3046\u6570(a,b,c,d\u306f\uff19\u4ee5\u4e0b)\u304c\u3042\u3063\u305f\u3068\u304d (a-b+c-d)%11==0\u306a\u308911\u306e\u500d\u6570\u3089\u3057\u3044\u3002 \u305d\u308c\u5206\u304b\u308b\u3068\u666e\u901a\u306b\u30e1\u30e2\u5316\u518d\u5e30\u3067\u304d\u308b\u3002 #include <string> #include <vector> #include <sstream> #include <cstdio> #include <cstring> typedef long long LL; using namespace std;\u2026","provider_url":"https://hatena.blog","categories":["topcoder"],"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","type":"rich","image_url":null,"url":"https://a-kawashiro.hatenablog.com/entry/20110424/1303601265","author_name":"a_kawashiro","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","width":"100%","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110424%2F1303601265\" title=\"SRM372 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>","published":"2011-04-24 08:27:45","title":"SRM372 div1 medium","height":"190","blog_url":"https://a-kawashiro.hatenablog.com/"}