801a11bf4a
r56013, r56014, r56015, r56016, r56017, r56089, r56097, r56116, r56117, r56126, r56127, r56128, r56140, r56147, r56300, r56301, r56339, r56360, r56454, r56473, r56563, r56651, r56654, r56658, r56682, r56732, r56796, r56855, r56856, r56868, r55667, r56860, r55473, r55507, r55528, r55749, r56147, r55723, r56109, r56859, and r55780. [SVN r56881]
19 lines
300 B
Plaintext
19 lines
300 B
Plaintext
An undirected graph:
|
|
0 <--> 1 4
|
|
1 <--> 0 4
|
|
2 <--> 5
|
|
3 <-->
|
|
4 <--> 1 0
|
|
5 <--> 2
|
|
|
|
representative[0] = 1
|
|
representative[1] = 1
|
|
representative[2] = 5
|
|
representative[3] = 3
|
|
representative[4] = 1
|
|
representative[5] = 5
|
|
|
|
component 0 contains: 1 4 0
|
|
component 1 contains: 3
|
|
component 2 contains: 5 2
|