Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

用并查集+Kruskal,常数都调整过结果还是TLE的,把存初始读入的memset去掉

Posted by haihongblog at 2016-01-20 11:45:57 on Problem 3723
我就是死活想不明白哪里TLE,常数都调了,复杂度也够了,然后发现开始存边和顶点的数组有个memset,去掉就AC了。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator