Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

怎么OLE啊?

Posted by gzxx102lsm at 2007-10-26 12:48:45 on Problem 2624
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
	double a0,b0,a1,b1,a2,b2,a3,b3,a4,b4;
	while(1)
	{
		cin>>a0>>b0>>a1>>b1>>a2>>b2>>a3>>b3;
		a4=a3+a0-a1;
		b4=b3-sqrt((a1-a0)*(a1-a0)+(b1-b0)*(b1-b0)-(a3-a4)*(a3-a4));
		printf("%0.3lf %0.3lf\n",a4,b4);
	}
	return 0;
}

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator