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

[ARC093E]Bichrome Spanning Tree | K-D Space #26

Open
EndSaH opened this issue Oct 9, 2019 · 0 comments
Open

[ARC093E]Bichrome Spanning Tree | K-D Space #26

EndSaH opened this issue Oct 9, 2019 · 0 comments

Comments

@EndSaH
Copy link
Owner

EndSaH commented Oct 9, 2019

https://endsah.cf/blog/ARC093E-Bichrome-Spanning-Tree/

Description给定一个 $n$$m$ 边的无向连通图,现需要对每条边染黑或白色。 定义一棵生成树合法,当且仅当其至少有一条黑边和白边。 问有多少种染色方案满足最终图中合法的最小生成树的权值等于 $x$。 $$1 \le n \le 1000, 1 \le m \le 2000, 1 \le x \le 10 ^{12} \\texttt{Bonus:} 1 \le n \le 5

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

No branches or pull requests

1 participant