摘要: 这个题是要求钉两块木板接水,问你能接到多少水;这里有几种情况不能接到水:1 :两直线没焦点;2:一条直线是水平的,3 :上方没口子,4:上面的线段挡住了下面的线段使水不能落到里面去;这里要用到定比分点。View Code View Code #include<iostream>#include<cstdio>#include<cstdlib>#include<cmath>#include<algorithm>#include<cstring>using namespace std;class Point{public: d 阅读全文
posted @ 2012-07-08 17:10 wutaoKeen 阅读(135) 评论(0) 推荐(0) 编辑