We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://oi-wiki.org/ds/dsu/
含路径压缩的C++实现代码与上面不含路径压缩的代码一样,python代码无误
The text was updated successfully, but these errors were encountered:
感谢你对 OI Wiki 的关注!记得在 Issue 中表达清楚自己的意思哦~
Sorry, something went wrong.
-size_t dsu::find(size_t x) { return pa[x] == x ? x : find(pa[x]); } +size_t dsu::find(size_t x) { return pa[x] == x ? x : pa[x] = find(pa[x]); }
No branches or pull requests
请选择:
我正在访问这个页面
https://oi-wiki.org/ds/dsu/
我发现页面有这样的问题
含路径压缩的C++实现代码与上面不含路径压缩的代码一样,python代码无误
The text was updated successfully, but these errors were encountered: