aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-07-05 10:34:03 -0500
committerGitHub2021-07-05 10:34:03 -0500
commit39fc5b016b19b670d8583aaff44bf5d4d0ca8155 (patch)
treea0b784cf2f92c2f3b35bb39ecc8567743bedf3c7
parent363f03806dfd977d8a76a1270317285398817c60 (diff)
parent47d52c43c4285abc92392582f2b28370c139547c (diff)
Merge pull request #3 from dush1729/main
Use less instead of less_equal in ordered_set
-rw-r--r--Data Structures/seg_ordered_set_tree.cpp2
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];