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 |
不会hash...用的二叉查找树...3375MS好险 -. -将6个长度先排序。作为key.用O(lgn)的时间查找。故时间复杂度为O(nlgn). 但由于有排序,常数因子应该很大。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator