diff options
Diffstat (limited to 'content')
| -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++) { |
