-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
What about changing
for(size_t i=0; i<v.size(); ++i) v[i] = i;to
iota(v.begin(), v.end(), 0);?
For example here:
https://github.com/TimonKnigge/TCR/blob/master/snippets/datastructures/unionfind.cpp#L5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels