summaryrefslogtreecommitdiff
path: root/content/other
diff options
context:
space:
mode:
authorYidi <noob999noob999@gmail.com>2024-09-06 18:03:19 +0200
committerYidi <noob999noob999@gmail.com>2024-09-06 18:03:19 +0200
commit77997253fb0978c2f45b73982eb0926756747882 (patch)
tree40761bf5145d55fb0c8239f492c44cd3a1f08cb1 /content/other
parent5c297e9939981a35b2782ff7b4f92859216fcca3 (diff)
more tests
Diffstat (limited to 'content/other')
-rw-r--r--content/other/pbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/other/pbs.cpp b/content/other/pbs.cpp
index 6cf872a..e6ef07d 100644
--- a/content/other/pbs.cpp
+++ b/content/other/pbs.cpp
@@ -1,5 +1,5 @@
// Q = # of queries, bucket sort is sometimes faster
-vector<int> low(Q, 0), high(Q, MAX_OPERATIONS + 1);
+vector<int> low(Q, -1), high(Q, MAX_OPERATIONS);
while (true) {
vector<pair<int, int>> focus;
for (int i = 0; i < Q; i++) {