{"blog_url":"https://h-chiro.hatenablog.com/","author_name":"h_chiro","height":"190","provider_name":"Hatena Blog","categories":["AOJ"],"author_url":"https://blog.hatena.ne.jp/h_chiro/","title":" 0520 Lightest Mobile","blog_title":"\u96d1\u8a18","provider_url":"https://hatena.blog","version":"1.0","url":"https://h-chiro.hatenablog.com/entry/20101102/1288708636","type":"rich","published":"2010-11-02 23:37:16","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh-chiro.hatenablog.com%2Fentry%2F20101102%2F1288708636\" title=\" 0520 Lightest Mobile - \u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","description":"http://rose.u-aizu.ac.jp/onlinejudge/ProblemSet/description.jsp?id=0520 \u65b9\u91dd dfs\u3057\u3066\u3001\u5148\u7aef\u306e\u65b9\u304b\u3089\u9806\u756a\u306b\u91cd\u3055\u3092\u6c7a\u3081\u308b\u3002 \u30bd\u30fc\u30b9 #include<iostream> #include<vector> using namespace std; #define REP(i,a,b) for(i=a; i<b; ++i) #define rep(i,n) REP(i,0,n) struct mobile { int lm,rm,lc,rc,ll,rl; mobile(int lc,int rc,int ll,int rl) \u2026"}