Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fei0319 committed Feb 28, 2024
2 parents 85d2ba5 + 404d2ec commit 3307a6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contest/arc165/arc165_e.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ void dfs(int node, int f) {
for (int y = size[node] - x; y >= 0; --y) {
for (int u = 0; u <= size[to]; ++u) {
for (int v = 0; u + v <= size[to]; ++v) {
add(tmp[x + u][y + v], (ll)dp[node][x][y] * dp[to][u][v]);
add(tmp[x + u][y + v],
(ll)dp[node][x][y] * dp[to][u][v]);
}
}
}
Expand Down

0 comments on commit 3307a6d

Please sign in to comment.