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 |
这个思路确定是对的吗?。。。 为啥样例都不对?In Reply To:贪心题。。附代码 Posted by:yzhw at 2009-03-15 01:47:26 > > 枚举最上下左右四条边的中点,然后计算从目标点到这些中点的线段与其他线段的交叉数N,N+1就是答案。。就不证明了吧~~~~ > Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator