-
Notifications
You must be signed in to change notification settings - Fork 1
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
最小树形图 - riteme.site #74
Comments
可是您写的O(ElogV) 版本提交之后超时。。 |
我在做某个oj的dmst题目,用的基本的朱刘算法,是超时,不知道有没有更好的优化方法 |
而且您写的O(EV)版本,需要800+ms,正常的朱刘只需要100+ms |
@damagegithub |
输入文件 第一行 n m -点,边 n<1000;m<10000 总是以节点1为根 如果有dmst 输出总权,没有输出no 是学校打acm的测试鸡(国外的) |
如果您愿意,可以微信交流号:damage5211 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://riteme.github.io/blog/2018-6-18/mdst.html
The text was updated successfully, but these errors were encountered: