Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

例题/0x40 数据结构进阶/0x41 并查集/银河英雄传说/CH4101 银河英雄传说.cpp 一处细节未考虑 #76

Open
MicroMilo opened this issue Sep 16, 2022 · 1 comment

Comments

@MicroMilo
Copy link

4
M 2 3
C 1 2
M 2 4
C 4 4

std 没有考虑查询的两个节点是同一个的情况,那么最后结果需要和 0 取 max

@MicroMilo MicroMilo changed the title 例题/0x40 数据结构进阶/0x41 并查集/银河英雄传说/CH4101 银河英雄传说.cpp 例题/0x40 数据结构进阶/0x41 并查集/银河英雄传说/CH4101 银河英雄传说.cpp 一处细节未考虑 Sep 16, 2022
@XiongDiNanDang
Copy link

建议直接 fork 改了之后 pull request。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants