Skip to content

Commit 094a2c8

Browse files
committed
fix
1 parent 53332cc commit 094a2c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/library_checker_aizu_tests/data_structures/range_parallel_dsu.test.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"https://judge.yosupo.jp/problem/range_parallel_unionfind"
33
#include "../template.hpp"
44
#include "../../../library/data_structures/dsu/range_parallel_dsu.hpp"
5-
#include "../../../library/contest/random.hpp"
65
#include "../../../library/data_structures/dsu/range_parallel_equivalence_classes.hpp"
76
#include "../../../library/math/mod_int.hpp"
87
int main() {
@@ -29,8 +28,7 @@ int main() {
2928
dsu.join(a, b, k, f);
3029
queries.push_back({a, b, k});
3130
cout << ans.x << '\n';
32-
if (qq <= 10 || abs(q - qq) <= 10 ||
33-
rnd(0, 50'000) == 0) {
31+
if (qq < 3 || abs(q - qq) <= 3 || qq % 100'000 == 0) {
3432
auto uf = get_rp_dsu(queries, n);
3533
vector<mint> sums(n);
3634
mint offline_ans = 0;

0 commit comments

Comments
 (0)