diff options
Diffstat (limited to 'datastructures')
| -rw-r--r-- | datastructures/test/fenwickTree.cpp | 1 | ||||
| -rw-r--r-- | datastructures/test/fenwickTree2.cpp | 1 | ||||
| -rw-r--r-- | datastructures/test/monotonicConvexHull.cpp | 1 | ||||
| -rw-r--r-- | datastructures/test/persistent.cpp | 1 | ||||
| -rw-r--r-- | datastructures/test/sparseTable.cpp | 2 | ||||
| -rw-r--r-- | datastructures/test/sparseTableDisjoint.cpp | 2 |
6 files changed, 8 insertions, 0 deletions
diff --git a/datastructures/test/fenwickTree.cpp b/datastructures/test/fenwickTree.cpp index f9dd619..4c9695f 100644 --- a/datastructures/test/fenwickTree.cpp +++ b/datastructures/test/fenwickTree.cpp @@ -1,3 +1,4 @@ +#define sz ssize #include "../fenwickTree.cpp" void test(int n) { diff --git a/datastructures/test/fenwickTree2.cpp b/datastructures/test/fenwickTree2.cpp index 18ebcb7..3567b05 100644 --- a/datastructures/test/fenwickTree2.cpp +++ b/datastructures/test/fenwickTree2.cpp @@ -1,3 +1,4 @@ +#define sz ssize #include "../fenwickTree2.cpp" void test(int n) { diff --git a/datastructures/test/monotonicConvexHull.cpp b/datastructures/test/monotonicConvexHull.cpp index 62ea4cd..08927a2 100644 --- a/datastructures/test/monotonicConvexHull.cpp +++ b/datastructures/test/monotonicConvexHull.cpp @@ -1,3 +1,4 @@ +#define sz(X) ((int)size(X)) #include "../monotonicConvexHull.cpp" int main() { diff --git a/datastructures/test/persistent.cpp b/datastructures/test/persistent.cpp index d98569b..5e5f864 100644 --- a/datastructures/test/persistent.cpp +++ b/datastructures/test/persistent.cpp @@ -1,3 +1,4 @@ +#define all(X) begin(X), end(X) #include "../persistent.cpp" int main() { diff --git a/datastructures/test/sparseTable.cpp b/datastructures/test/sparseTable.cpp index ed4d61f..03ef548 100644 --- a/datastructures/test/sparseTable.cpp +++ b/datastructures/test/sparseTable.cpp @@ -1,3 +1,5 @@ +#define sz ssize +#define all(X) begin(X), end(X) #include "../sparseTable.cpp" void test(int n) { diff --git a/datastructures/test/sparseTableDisjoint.cpp b/datastructures/test/sparseTableDisjoint.cpp index 43c6d6e..7ef6483 100644 --- a/datastructures/test/sparseTableDisjoint.cpp +++ b/datastructures/test/sparseTableDisjoint.cpp @@ -1,3 +1,5 @@ +#define sz ssize +#define all(X) begin(X), end(X) #include "../sparseTableDisjoint.cpp" void test(int n) { |
