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 whosyourdaddy at 2010-09-24 02:51:11 on Problem 1009
这个idea很赞,省下了好多考虑特殊情况的时间,稍微考虑一下边界,还有width=1的情况,就迎刃而解了。
图片思路在找到的链接里:
http://hi.baidu.com/zdg102/blog/item/9eafab44f711538ab2b7dcfb.html


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