Rosetta Problems
← atcoder に戻る
Red and Blue Spanning Tree
https://atcoder.jp/contests/agc064/tasks/agc064_b