Skip to content

Commit ec2bc6b

Browse files
author
Cameron Custer
committed
Merge remote-tracking branch 'origin/dev' into recursive-lambda-by-ref
# Conflicts: # .verify-helper/timestamps.remote.json
2 parents 67b8d16 + e89c97e commit ec2bc6b

7 files changed

Lines changed: 27 additions & 26 deletions

File tree

.verify-helper/timestamps.remote.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"tests/library_checker_aizu_tests/convolution/xor_convolution.test.cpp": "2026-03-06 12:17:28 -0700",
66
"tests/library_checker_aizu_tests/data_structures/binary_search_example.test.cpp": "2024-11-18 10:51:39 -0600",
77
"tests/library_checker_aizu_tests/data_structures/binary_trie.test.cpp": "2026-01-18 02:20:40 +0000",
8-
"tests/library_checker_aizu_tests/data_structures/bit.test.cpp": "2026-04-26 11:38:07 -0600",
9-
"tests/library_checker_aizu_tests/data_structures/bit_inc.test.cpp": "2026-04-06 12:17:32 -0600",
10-
"tests/library_checker_aizu_tests/data_structures/bit_inc_walk.test.cpp": "2026-04-06 12:17:32 -0600",
11-
"tests/library_checker_aizu_tests/data_structures/bit_ordered_set.test.cpp": "2026-04-06 12:17:32 -0600",
12-
"tests/library_checker_aizu_tests/data_structures/bit_rupq.test.cpp": "2026-04-06 12:17:32 -0600",
13-
"tests/library_checker_aizu_tests/data_structures/bit_rurq.test.cpp": "2026-04-06 12:17:32 -0600",
14-
"tests/library_checker_aizu_tests/data_structures/bit_walk.test.cpp": "2026-04-26 11:38:07 -0600",
8+
"tests/library_checker_aizu_tests/data_structures/bit.test.cpp": "2026-07-06 09:26:00 -0700",
9+
"tests/library_checker_aizu_tests/data_structures/bit_inc.test.cpp": "2026-07-06 09:26:00 -0700",
10+
"tests/library_checker_aizu_tests/data_structures/bit_inc_walk.test.cpp": "2026-07-06 09:26:00 -0700",
11+
"tests/library_checker_aizu_tests/data_structures/bit_ordered_set.test.cpp": "2026-07-06 09:26:00 -0700",
12+
"tests/library_checker_aizu_tests/data_structures/bit_rupq.test.cpp": "2026-07-06 09:26:00 -0700",
13+
"tests/library_checker_aizu_tests/data_structures/bit_rurq.test.cpp": "2026-07-06 09:26:00 -0700",
14+
"tests/library_checker_aizu_tests/data_structures/bit_walk.test.cpp": "2026-07-06 09:26:00 -0700",
1515
"tests/library_checker_aizu_tests/data_structures/deque.test.cpp": "2026-01-18 02:20:40 +0000",
1616
"tests/library_checker_aizu_tests/data_structures/deque_index.test.cpp": "2026-01-18 02:20:40 +0000",
1717
"tests/library_checker_aizu_tests/data_structures/deque_op.test.cpp": "2026-01-18 02:20:40 +0000",
@@ -33,7 +33,7 @@
3333
"tests/library_checker_aizu_tests/data_structures/permutation_tree.test.cpp": "2026-05-24 23:00:07 -0500",
3434
"tests/library_checker_aizu_tests/data_structures/persistent_queue_tree.test.cpp": "2026-04-26 11:38:07 -0600",
3535
"tests/library_checker_aizu_tests/data_structures/persistent_seg_tree.test.cpp": "2026-04-26 11:38:07 -0600",
36-
"tests/library_checker_aizu_tests/data_structures/pq_ds_undo_sliding_window.test.cpp": "2026-01-18 02:20:40 +0000",
36+
"tests/library_checker_aizu_tests/data_structures/pq_ds_undo_sliding_window.test.cpp": "2026-07-06 09:26:00 -0700",
3737
"tests/library_checker_aizu_tests/data_structures/rmq_linear.test.cpp": "2026-05-24 23:00:07 -0500",
3838
"tests/library_checker_aizu_tests/data_structures/rmq_sparse_table.test.cpp": "2026-05-24 23:00:07 -0500",
3939
"tests/library_checker_aizu_tests/data_structures/rmq_sparse_table_inc.test.cpp": "2026-01-18 11:15:41 +0000",
@@ -90,7 +90,7 @@
9090
"tests/library_checker_aizu_tests/handmade_tests/permutation_tree_small.test.cpp": "2026-05-24 23:00:07 -0500",
9191
"tests/library_checker_aizu_tests/handmade_tests/rmq_small_n.test.cpp": "2026-05-24 23:00:07 -0500",
9292
"tests/library_checker_aizu_tests/handmade_tests/sa_find_subarray.test.cpp": "2026-04-26 11:38:07 -0600",
93-
"tests/library_checker_aizu_tests/handmade_tests/seg_tree_find.test.cpp": "2026-04-26 11:38:07 -0600",
93+
"tests/library_checker_aizu_tests/handmade_tests/seg_tree_find.test.cpp": "2026-07-06 09:26:00 -0700",
9494
"tests/library_checker_aizu_tests/handmade_tests/seg_tree_find_small.test.cpp": "2026-04-26 11:38:07 -0600",
9595
"tests/library_checker_aizu_tests/handmade_tests/seg_tree_midpoint.test.cpp": "2026-04-26 11:38:07 -0600",
9696
"tests/library_checker_aizu_tests/handmade_tests/xor_basis_walk.test.cpp": "2026-03-08 15:33:28 -0600",
@@ -108,7 +108,7 @@
108108
"tests/library_checker_aizu_tests/math/partitions.test.cpp": "2025-08-28 13:19:16 -0600",
109109
"tests/library_checker_aizu_tests/math/prime_sieve.test.cpp": "2024-11-22 11:54:52 -0600",
110110
"tests/library_checker_aizu_tests/math/solve_linear_mod.test.cpp": "2026-04-12 10:51:29 -0600",
111-
"tests/library_checker_aizu_tests/math/tetration.test.cpp": "2024-11-17 14:04:03 -0600",
111+
"tests/library_checker_aizu_tests/math/tetration.test.cpp": "2026-07-06 09:26:00 -0700",
112112
"tests/library_checker_aizu_tests/math/totient.test.cpp": "2024-11-17 14:04:03 -0600",
113113
"tests/library_checker_aizu_tests/math/xor_basis_intersection.test.cpp": "2026-04-26 11:38:07 -0600",
114114
"tests/library_checker_aizu_tests/monotonic_stack_related/cartesian_binary_tree.test.cpp": "2026-04-06 13:24:49 -0600",
@@ -120,7 +120,7 @@
120120
"tests/library_checker_aizu_tests/strings/lcp_query_palindrome.test.cpp": "2026-04-26 11:38:07 -0600",
121121
"tests/library_checker_aizu_tests/strings/lcp_query_zfunc.test.cpp": "2026-04-26 11:38:07 -0600",
122122
"tests/library_checker_aizu_tests/strings/lcs_dp.test.cpp": "2025-08-05 19:19:23 -0600",
123-
"tests/library_checker_aizu_tests/strings/lcs_queries.test.cpp": "2026-04-06 12:17:32 -0600",
123+
"tests/library_checker_aizu_tests/strings/lcs_queries.test.cpp": "2026-07-06 09:26:00 -0700",
124124
"tests/library_checker_aizu_tests/strings/lcs_queries_merge_sort_tree.test.cpp": "2026-04-26 11:38:07 -0600",
125125
"tests/library_checker_aizu_tests/strings/manacher.test.cpp": "2026-04-26 11:38:07 -0600",
126126
"tests/library_checker_aizu_tests/strings/multi_matching_bs.test.cpp": "2026-04-26 11:38:07 -0600",
@@ -137,11 +137,11 @@
137137
"tests/library_checker_aizu_tests/trees/edge_cd_contour_range_update.test.cpp": "2026-07-06 09:57:36 -0700",
138138
"tests/library_checker_aizu_tests/trees/edge_cd_count_paths_per_length.test.cpp": "2026-07-06 09:57:36 -0700",
139139
"tests/library_checker_aizu_tests/trees/edge_cd_reroot_dp.test.cpp": "2026-07-06 09:57:36 -0700",
140-
"tests/library_checker_aizu_tests/trees/hld_aizu1.test.cpp": "2026-04-12 16:21:27 -0600",
140+
"tests/library_checker_aizu_tests/trees/hld_aizu1.test.cpp": "2026-07-06 09:26:00 -0700",
141141
"tests/library_checker_aizu_tests/trees/hld_aizu2.test.cpp": "2026-04-26 11:38:07 -0600",
142-
"tests/library_checker_aizu_tests/trees/hld_lib_checker_path.test.cpp": "2026-04-12 16:21:27 -0600",
143-
"tests/library_checker_aizu_tests/trees/hld_lib_checker_subtree_edges.test.cpp": "2026-04-12 16:21:27 -0600",
144-
"tests/library_checker_aizu_tests/trees/hld_lib_checker_subtree_nodes.test.cpp": "2026-04-12 16:21:27 -0600",
142+
"tests/library_checker_aizu_tests/trees/hld_lib_checker_path.test.cpp": "2026-07-06 09:26:00 -0700",
143+
"tests/library_checker_aizu_tests/trees/hld_lib_checker_subtree_edges.test.cpp": "2026-07-06 09:26:00 -0700",
144+
"tests/library_checker_aizu_tests/trees/hld_lib_checker_subtree_nodes.test.cpp": "2026-07-06 09:26:00 -0700",
145145
"tests/library_checker_aizu_tests/trees/kth_path_hagerup.test.cpp": "2026-07-06 09:57:36 -0700",
146146
"tests/library_checker_aizu_tests/trees/kth_path_ladder.test.cpp": "2026-07-06 09:57:36 -0700",
147147
"tests/library_checker_aizu_tests/trees/kth_path_linear.test.cpp": "2026-07-06 09:57:36 -0700",

library/contest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ freopen("output.txt", "w", stdout);
99
If you changed something for debugging, add a `cout << "don't submit" << endl;`
1010
or `assert(0);` at the end of the code
1111

12-
for policy base DS:
12+
for policy-based DS:
1313
```
1414
#include <bits/extc++.h>
1515
```
@@ -25,7 +25,7 @@ don't use cin for doubles/floats, it's slow, read into string, then convert to d
2525
cin.exceptions(cin.failbit);
2626
```
2727

28-
- use pramgas for C++ speed boost
28+
- use pragmas for C++ speed boost
2929
```
3030
#pragma GCC optimize("O3,unroll-loops")
3131
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")

library/data_structures_[l,r)/bit.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//! int r = bit.walk2(sum);
88
//! // Returns min r s.t. sum of [0,r] >= sum
99
//! // Returns n if sum of [0,n-1] < sum
10+
//! // Returns -1 if sum <= 0
1011
//! @endcode
1112
//! @time O(n + q log n)
1213
//! @space O(n)

library/data_structures_[l,r)/uncommon/priority_queue_of_updates.hpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#pragma once
22
//! https://codeforces.com/blog/entry/111117
33
//! @code
4-
//! dsu_restorable dsu_r(n);
5-
//! pq_updates<dsu_restorable, int, int> pq(dsu_r);
6-
//! rep (i, 0, n) pq.ds.add(i, initial_nums[i]);
7-
//! //or
8-
//! pq.ds.subtree = initial_nums;
9-
//! pq.push_update(u, v, curr_pri);
10-
//! cout << pq.ds.sum(v) << '\n';
4+
//! // DS = any struct with member functions join, undo
5+
//! DS ds;
6+
//! // int = argument type of DS::join
7+
//! pq_updates<DS, int> pq(ds);
8+
//! pq.push_update(val, priority);
9+
//! pq.pop_update();
1110
//! @endcode
1211
//! @time n interweaved calls to pop_update, push_update
1312
//! take O(T(n)*nlogn) where O(T(n)) = time complexity of

library/data_structures_[l,r]/bit.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//! int r = bit.walk2(sum);
88
//! // Returns min r s.t. sum of [0,r] >= sum
99
//! // Returns n if sum of [0,n-1] < sum
10+
//! // Returns -1 if sum <= 0
1011
//! @endcode
1112
//! @time O(n + q log n)
1213
//! @space O(n)

library/graphs/uncommon/block_vertex_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! [0, n) are original nodes
1616
//! [n, n + num_bccs) are BCC nodes
1717
//! @time O(n + m)
18-
//! @time O(n)
18+
//! @space O(n)
1919
auto block_vertex_tree(const auto& g, int num_bccs,
2020
const vi& bcc_id) {
2121
int n = sz(g);

library/math/tetration_mod.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//!
88
//! returns b ^ (b ^ (... ^ b))) % mod, where
99
//! the height of the tower is e.
10-
//
10+
//!
1111
//! @time O(sqrt(mod) * log(mod))
1212
//! @space O(log(mod))
1313
ll bin_exp(ll b, ll e, int mod) {

0 commit comments

Comments
 (0)