上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
摘要: 来源poj2074 An architect is very proud of his new home and wants to be sure it can be seen by people passing by his property line along the street. The 阅读全文
posted @ 2018-08-06 21:42 一无所知小白龙 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1.是否相交,和求相交点 struct point { double x,y; }; struct line { point a,b; }; point operator (point m,point n) { point c; c.x=m.x n.x; c.y=m.y n.y; return c; 阅读全文
posted @ 2018-08-06 21:25 一无所知小白龙 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 来源 poj2826 It's raining outside. Farmer Johnson's bull Ben wants some rain to water his flowers. Ben nails two wooden boards on the wall of his barn. 阅读全文
posted @ 2018-08-06 21:21 一无所知小白龙 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 来源 poj 3348 Your friend to the south is interested in building fences and turning plowshares into swords. In order to help with his overseas adventure 阅读全文
posted @ 2018-08-06 17:31 一无所知小白龙 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 来源poj 1410 You are to write a program that has to decide whether a given line segment intersects a given rectangle. An example: line: start point: (4, 阅读全文
posted @ 2018-08-06 17:26 一无所知小白龙 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 来源poj 2398 Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectangular 阅读全文
posted @ 2018-08-05 18:07 一无所知小白龙 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1.求解点与直线的关系,判断在直线哪一边 int direction(point p1,point p2,point p3)//p1是向量起点,p2是终点,p3是判断点, 0则在左边<0在右侧 { return (p1.x p3.x) (p2.y p3.y) (p1.y p3.y) (p2.x p3 阅读全文
posted @ 2018-08-05 16:42 一无所知小白龙 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 来源 poj 2318 Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem their child John never puts his to 阅读全文
posted @ 2018-08-05 16:41 一无所知小白龙 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Teacher Mai has a kingdom with the infinite area. He has n students guarding the kingdom. The i th student stands at the position (x i,y i), and his w 阅读全文
posted @ 2018-08-04 20:16 一无所知小白龙 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Long long ago, there is a famous farmer named John. He owns a big farm and many cows. There are two kinds of cows on his farm, one is Friesian, and an 阅读全文
posted @ 2018-08-04 10:56 一无所知小白龙 阅读(451) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页