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 |
Re:图论就不是数学了么?In Reply To:Re:图论就不是数学了么? Posted by:JiangLY at 2005-05-01 11:48:54 把输入一次全读进来,排个序减少重复计算,估计直接加对数也可以(O(n)),还可以多做几次乘法再对数(O(n/logn))。 > 这题要O多少的才能过? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator