2023-06-17 ABC306 ■A - Echo はい ■B - Base 2 unsigned long long ■C - Centers 適当にsort ■D - Poisonous Full-Course dpをする ■E - Best Performances multiset二本でする k=nに注意 ■F - Merge Sets 座圧してセグ木 ■G - Return to 1 強連結の辺のみを考えて隣接辺の深さのgcdのみ考えればいいらしい。 なるほどね。