{"description":"\u30ef\u30fc\u30b7\u30e3\u30eb\u30d5\u30ed\u30a4\u30c9\u3057\u3066\u4e00\u756a\u9577\u3044\uff12\u70b9\u9593\u6700\u77ed\u8ddd\u96e2\u3092\u8fd4\u305b\u3070OK\u3002 #include <vector> using namespace std; int chain[50+10][50+10]; class EscapingJail { public: int n; int getMaxDistance(vector <string> _chain) { n=_chain.size(); for(int i=0;i<n;i++) for(int j=0;j<n;j++) { char c=_chain[i][j]; if('0'<=c && c<='9') chain[i][j]=c-'0'; els\u2026","width":"100%","type":"rich","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110423%2F1303562350\" title=\"SRM301 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/","title":"SRM301 div1 medium","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","version":"1.0","published":"2011-04-23 21:39:10","author_name":"a_kawashiro","url":"https://a-kawashiro.hatenablog.com/entry/20110423/1303562350","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","categories":["topcoder"]}