PKU3301

#include
#include
#include
#include
#include
#include
#include
#include
#include


using namespace std;


#define EPS 1e-9


int x[1002],y[1002];
int n;


void clear()
{
	memset(x,0,sizeof(x));
	memset(y,0,sizeof(y));
}


double deta(double d)
{
	int i,j;
	double dis1,dis2,dis;
	dis = 0.0;
	for(i=1;i>t;
	while(t--)
	{
		cin>>n;
		for(int i=1;i<=n;i++)
			cin>>x[i]>>y[i];
		l=0.0;
		r=acos(-1.0);
		while(r-l >= EPS)
		{
			mid = (l+r)/2;
			mmid = (mid+r)/2;
			s1 = deta(mid);
			s2 = deta(mmid);
			if(s1


你可能感兴趣的:(三分,三分)