For problem G can someone please explain how the assignments are computed for a connected component of size K in the editorial.↵
https://atcoder.jp/contests/abc214/editorial/2448↵
↵
Editotial Solution↵
https://atcoder.jp/contests/abc214/submissions/25003972↵
https://atcoder.jp/contests/abc214/editorial/2448↵
↵
Editotial Solution↵
https://atcoder.jp/contests/abc214/submissions/25003972↵