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

不需要考虑精度吧~直接枚举和竖线交点就OK了..

Posted by Burn_E at 2012-03-16 13:49:59 on Problem 1648
枚举每条竖着的边与直线的交点x,然后枚举这条边上的所有线段,如果j*100 <= x <= j*100+100 就把j左右两边的格子标记一下..

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