Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fei0319 committed Feb 27, 2024
2 parents 161a0fd + 5a442ae commit da7c5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contest/cf1662/G.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void dfs2(int node) {
}

ll res = dp[node] - size[node] + g[node];
std::vector<int> sz {n - size[node]};
std::vector<int> sz{n - size[node]};
for (int to : G[node]) {
sz.push_back(size[to]);
}
Expand Down

0 comments on commit da7c5a3

Please sign in to comment.