Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
用并查集+Kruskal,常数都调整过结果还是TLE的,把存初始读入的memset去掉我就是死活想不明白哪里TLE,常数都调了,复杂度也够了,然后发现开始存边和顶点的数组有个memset,去掉就AC了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator