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

难道先对priority排序再从大到小根据label的值插入二叉检索树中的算法注定超时?

Posted by Ooozed at 2005-10-06 20:04:14 on Problem 1785
试了new,delete改成数组,string改成char[]都超时
难道非要先对label排序再根据priority一个个插入堆才能过吗,这两种算法的时间代价不同吗

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