diff options
author | dush1729 | 2021-07-05 12:15:06 +0530 |
---|---|---|
committer | dush1729 | 2021-07-05 12:15:06 +0530 |
commit | 47d52c43c4285abc92392582f2b28370c139547c (patch) | |
tree | a0b784cf2f92c2f3b35bb39ecc8567743bedf3c7 | |
parent | 363f03806dfd977d8a76a1270317285398817c60 (diff) |
Use less instead of less_equal in ordered_set
-rw-r--r-- | Data Structures/seg_ordered_set_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Data Structures/seg_ordered_set_tree.cpp b/Data Structures/seg_ordered_set_tree.cpp index efc5815..68370ae 100644 --- a/Data Structures/seg_ordered_set_tree.cpp +++ b/Data Structures/seg_ordered_set_tree.cpp @@ -2,7 +2,7 @@ #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; -template<typename T> using ordered_set = tree<T, null_type, less_equal<T>, rb_tree_tag, tree_order_statistics_node_update>; +template<typename T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; constexpr int MX = MX; ordered_set<int> S[4 * MX]; |