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 |
请问这题应该怎么剪枝?我每次从大到小取棍子,然后优先扩展减少距离的两个方向,遇到交叉线就剪掉,遇到剩下的棍子长度不够连接的也剪掉,还是TLE,还有什么剪枝的地方吗?thanks Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator