{"categories":["topcoder"],"blog_url":"https://rom-k.hatenadiary.org/","url":"https://rom-k.hatenadiary.org/entry/20110520/1305850913","title":"Round 1B 2010 : Problem A. File Fix-it","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2From-k.hatenadiary.org%2Fentry%2F20110520%2F1305850913\" title=\"Round 1B 2010 : Problem A. File Fix-it - coding@ease\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/rom_k/","author_name":"rom_k","provider_url":"https://hatena.blog","description":"\u6642\u9593\u304b\u304b\u3063\u305f\u3002R1\u306f\u96e3\u3057\u3044\u3002 \u52d5\u304f\u3093\u3060\u3051\u3069\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u304c\u7121\u3057\u3067\u5927\u4e08\u592b\u304b\u3061\u3087\u3063\u3068\u4e0d\u5b89\u3002 struct dir { string name; vector<dir*> c; dir () { dir(\"\"); } dir (string name0) { name = name0; } // ~dir () { // FORI(i, c.size()) { // c[i]->~dir(); // delete c[i]; // } // } void add (string path) { string path_dir = path; string path_remain = \"\"; // sp\u2026","blog_title":"coding@ease","version":"1.0","published":"2011-05-20 09:21:53","height":"190","type":"rich","provider_name":"Hatena Blog"}