poj 1031 Fence 计算几何
摘要:
物理题+数学题+信息学题 1 #include<iostream> 2 #include<cmath> 3 using namespace std; 4 #define MAXN 101 5 #define PI 3.1415926 6 struct point 7 { 8 double x,y; 9 };10 point a[MAXN];11 double h,k;12 double Max=0,Min=0,sum=0;13 int n;14 double angle(point A,point B)15 {16 double k1=atan2(A.y,A.x);17 阅读全文
posted @ 2012-02-25 18:20 myoi 阅读(512) 评论(0) 推荐(1) 编辑