mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
formatting source-code for a887dc59ed8e790d479773e0ce5e24c6db110afb
This commit is contained in:
parent
866c23e19e
commit
2802dca895
@ -28,8 +28,8 @@ using std::vector;
|
||||
|
||||
vector<int> root, rank;
|
||||
|
||||
/**
|
||||
*
|
||||
/**
|
||||
*
|
||||
* Function to create a set
|
||||
* @param n number of element
|
||||
*
|
||||
@ -57,7 +57,7 @@ int Find(int x) {
|
||||
return root[x] = Find(root[x]);
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
*
|
||||
* A utility function to check if x and y are from same set or not
|
||||
* @param x element of some set
|
||||
|
Loading…
Reference in New Issue
Block a user