{"width":"100%","version":"1.0","title":"SRM425 div1 medium","provider_name":"Hatena Blog","image_url":null,"author_name":"a_kawashiro","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","description":"\u3057\u3093\u3069\u3044\u3002 \u3084\u308b\u3053\u3068\u306f\u305f\u3060\u306eBFS\u3002\u3067\u3082\u72b6\u614b\u3092map\u3067\u30e1\u30e2\u3057\u3068\u304b\u306a\u3044\u3068\u7121\u9650\u30eb\u30fc\u30d7\u306b\u843d\u3061\u308b\u3002 #include <string> #include <vector> #include <queue> #include <map> using namespace std; int mv[4][2]={{-1,0},{1,0},{0,-1},{0,1}}; class PiecesMover { public: int nP; bool check(vector<int> pos) { vector<string> board(5,string(5,'.')); for(int i=0;i<nP;i\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110424%2F1303650874\" title=\"SRM425 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","type":"rich","published":"2011-04-24 22:14:34","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","blog_url":"https://a-kawashiro.hatenablog.com/","url":"https://a-kawashiro.hatenablog.com/entry/20110424/1303650874","height":"190","categories":["topcoder"]}