一.题目类型:
1.普通并查集:
Codeforces Round #363 (Div. 2) D. Fix a Tree
Codeforces Round #376 (Div. 2) C. Socks
2.种类并查集:
HDU3038 How Many Answers Are Wrong
3.反向并查集:
ZOJ3261 Connections in Galaxy War
4.路径压缩:
时间: 2024-10-01 05:09:32
一.题目类型:
1.普通并查集:
Codeforces Round #363 (Div. 2) D. Fix a Tree
Codeforces Round #376 (Div. 2) C. Socks
2.种类并查集:
HDU3038 How Many Answers Are Wrong
3.反向并查集:
ZOJ3261 Connections in Galaxy War
4.路径压缩: