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 |
找出每段起始点和结束点以及这些点的上面一个点和下面一个点这个idea很赞,省下了好多考虑特殊情况的时间,稍微考虑一下边界,还有width=1的情况,就迎刃而解了。 图片思路在找到的链接里: http://hi.baidu.com/zdg102/blog/item/9eafab44f711538ab2b7dcfb.html Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator