Rosetta Problems

Variable Spanning Trees

https://atcoder.jp/contests/past202004-open/tasks/past202004_o