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

Re:用哈夫曼树做的竟然错了,哪位大牛找出错哪了(用了_int64)

Posted by lisliz at 2011-03-26 22:07:21 on Problem 3253
In Reply To:Re:用哈夫曼树做的竟然错了,哪位大牛找出错哪了(用了_int64) Posted by:lisliz at 2011-03-26 22:04:19
MaxValue改成100000000,不会再WA,但会TLE,可以用两个数组代替结构体,再试试用堆排,可能就不会TLE了。

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