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 |
ms做一组数据搞死你的算法不难In Reply To:难道先对priority排序再从大到小根据label的值插入二叉检索树中的算法注定超时? Posted by:Ooozed at 2005-10-06 20:04:14 > 试了new,delete改成数组,string改成char[]都超时 > 难道非要先对label排序再根据priority一个个插入堆才能过吗,这两种算法的时间代价不同吗 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator