摘要: 来源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) 编辑