diff options
| author | Yidi <noob999noob999@gmail.com> | 2024-09-06 18:03:19 +0200 |
|---|---|---|
| committer | Yidi <noob999noob999@gmail.com> | 2024-09-06 18:03:19 +0200 |
| commit | 77997253fb0978c2f45b73982eb0926756747882 (patch) | |
| tree | 40761bf5145d55fb0c8239f492c44cd3a1f08cb1 /content/other/pbs.cpp | |
| parent | 5c297e9939981a35b2782ff7b4f92859216fcca3 (diff) | |
more tests
Diffstat (limited to 'content/other/pbs.cpp')
| -rw-r--r-- | content/other/pbs.cpp | 2 |
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++) { |
