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的朋友我是用DP做的。 一开始把坐标放在最外层循环,然后枚举在该坐标之后的所有building,得到下一个坐标点。TLE。 后来换成把building放在外层循环,然后根据建筑物高度枚举可选的坐标点范围,ac。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator