From cf51bfdebdea5b54863a7037aa60fc07c165f87c Mon Sep 17 00:00:00 2001 From: fer22f <fer22f@gmail.com> Date: Thu, 28 Sep 2023 00:35:03 -0300 Subject: [PATCH] Adiciona ordset --- fontes/ordset.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fontes/ordset.h diff --git a/fontes/ordset.h b/fontes/ordset.h new file mode 100644 index 0000000..b241513 --- /dev/null +++ b/fontes/ordset.h @@ -0,0 +1,6 @@ +#include <ext/pb_ds/assoc_container.hpp> +using namespace __gnu_pbds; +template <class T> +using ordset = tree< + T, null_type, less<T>, rb_tree_tag, + tree_order_statistics_node_update>; -- GitLab