{"categories":["\u554f\u984c\u8a18\u9332","AtCoder","SoundHound2018Masters\u672c\u6226"],"url":"https://fluffyowl.hatenablog.com/entry/2018/07/31/183641","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/fluffyowl/","title":"SoundHound Programming Contest 2018 Masters Tournament \u672c\u6226: D - Propagating Edges","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffluffyowl.hatenablog.com%2Fentry%2F2018%2F07%2F31%2F183641\" title=\"SoundHound Programming Contest 2018 Masters Tournament \u672c\u6226: D - Propagating Edges - nebukuro09\u306e\u65e5\u8a18\" 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://fluffyowl.hatenablog.com/","published":"2018-07-31 18:36:41","provider_url":"https://hatena.blog","blog_title":"nebukuro09\u306e\u65e5\u8a18","height":"190","version":"1.0","author_name":"fluffyowl","description":"https://beta.atcoder.jp/contests/soundhound2018-summer-final-open/tasks/soundhound2018_summer_final_d \u554f\u984c\u6982\u8981 N\u9802\u70b90\u8fba\u306e\u7121\u5411\u30b0\u30e9\u30d5\u306b\u5bfe\u3057\u3066Q\u500b\u306e\u30af\u30a8\u30ea\u304c\u98db\u3093\u3067\u304f\u308b\u306e\u3067\u9806\u6b21\u51e6\u7406\u305b\u3088\u3002 add\u30af\u30a8\u30ea: \u9802\u70b9u, v\u9593\u306b\u8fba\u3092\u5f35\u308b complete\u30af\u30a8\u30ea: \u300c\u9802\u70b9u\u300d\u3068\u300c\u9802\u70b9u\u3068\u9023\u7d50\u306a\u9802\u70b9\u300d\u306e\u96c6\u5408\u306b\u542b\u307e\u308c\u308b\u3059\u3079\u3066\u306e\u9802\u70b9\u9593\u306b\u8fba\u3092\u5f35\u308b check\u30af\u30a8\u30ea: \u9802\u70b9u, v\u9593\u306b\u8fba\u304c\u5f35\u3089\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u7b54\u3048\u308b N <= 105 Q <= 2*105 \u89e3\u6cd5 2\u9802\u70b9\u9593\u306b\u8fba\u304c\u5f35\u3089\u308c\u308b\u306e\u306f\u5f53\u7136\u306a\u304c\u3089add\u30af\u30a8\u30ea\u304bc\u2026","width":"100%","type":"rich","image_url":null}