Skip to content

Commit 504d4db

Browse files
committed
fix formatting
1 parent 1860b5d commit 504d4db

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/library_checker_aizu_tests/trees/cd_count_paths_per_length.test.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ vector<ll> count_paths_per_length(vector<vi> adj) {
2929
swap(q, new_q);
3030
}
3131
}
32-
sort(all(child_depths), [&](auto& x, auto& y) { return sz(x) < sz(y); });
32+
sort(all(child_depths),
33+
[&](auto& x, auto& y) { return sz(x) < sz(y); });
3334
vector total_depth(1, 1.0);
3435
for (const auto& cnt_depth : child_depths) {
3536
auto prod = conv(total_depth, cnt_depth);
3637
rep(i, 1, sz(prod)) num_paths[i] += llround(prod[i]);
3738
total_depth.resize(sz(cnt_depth));
38-
rep(i, 1, sz(cnt_depth)) total_depth[i] += cnt_depth[i];
39+
rep(i, 1, sz(cnt_depth)) total_depth[i] +=
40+
cnt_depth[i];
3941
}
4042
});
4143
return num_paths;

0 commit comments

Comments
 (0)