www.pudn.com > zju_1000_1010.rar > 1002_other.CPP


#include  
#include  
#include  
 
struct point  
{ 
	double x; 
	double y; 
}; 
 
void D(int n,double x1, double y1,double x2,double y2); 
void f(int n,double x1, double y1,double x2,double y2); 
point f1(double x1,double y1,double x2,double y2); 
 
int main() 
{	 
	int times; 
	double x1,y1,x2,y2; 
	while(cin>>times>>x1>>y1>>x2>>y2) 
	{   
		D(times,x1,y1,x2,y2); 
		cout.setf(ios::fixed|ios::showpoint); 
		cout.precision(2); 
		cout<