Skip to content

Commit 60efaa9

Browse files
committed
fix
1 parent 436c40a commit 60efaa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/library_checker_aizu_tests/trees/cd_count_paths_per_length.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ vector<ll> count_paths_per_length(vector<vi> adj) {
2323
q.pop();
2424
for (int w : adj[u]) {
2525
if (w == p) continue;
26-
new_q.push({w, u});
26+
new_q.emplace(w, u);
2727
}
2828
}
2929
swap(q, new_q);

0 commit comments

Comments
 (0)