dirckvdende / competition-reference

A reference document that can be used in programming competitions
MIT License
1 stars 2 forks source link

Add `next_permutation` to useful built-ins (and others?) #32

Open dirckvdende opened 2 hours ago

dirckvdende commented 2 hours ago

ordered_set also exists, with functions to find number of elements strictly smaller and find element by index, but this is only g++

dirckvdende commented 2 hours ago

lower_bound and upper_bound

dirckvdende commented 2 hours ago

Perhaps gcd, min_element, unique