Why do some programmers add rng(chrono::steady_clock::now().time_since_epoch().count()); in their template.
Also why typedef tree<int, null_type, less, rb_tree_tag, tree_order_statistics_node_update> pbds;
Can you also share me best competitive programming template you have ever seen?
Well, the first one is a better randomizer than rand() using mt19937. You can find more informations here
The second one is the ordered set included in Policy Based Data Structure You can find more informations here
Check your browser for what it actually does...