Closed DennisZY closed 5 years ago
0x66 P399
add_c(c[x],c[y]); should be add_c(c[x],c[y]),add_c(c[y],c[x]);.
add_c(c[x],c[y]);
add_c(c[x],c[y]),add_c(c[y],c[x]);
There's no need to add_c(c[y],c[x]), since it loops from 2 to tot (i.e. 2m bidirectional edges).
add_c(c[y],c[x])
tot
2m
0x66 P399
add_c(c[x],c[y]);
should beadd_c(c[x],c[y]),add_c(c[y],c[x]);
.