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

请问这题应该怎么剪枝?

Posted by code4fun at 2007-04-25 19:36:34 on Problem 2331
我每次从大到小取棍子,然后优先扩展减少距离的两个方向,遇到交叉线就剪掉,遇到剩下的棍子长度不够连接的也剪掉,还是TLE,还有什么剪枝的地方吗?thanks

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