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

Re:我有话要说!

Posted by changzhiwin at 2008-08-26 20:04:26 on Problem 1410
In Reply To:我有话要说! Posted by:ecjtuQX at 2008-08-26 17:50:55
> 		scanf("%lf%lf%lf%lf",&l.st.x,&l.st.y,&l.ed.x,&l.ed.y);
> 		scanf("%lf%lf%lf%lf",&p1.x,&p1.y,&p3.x,&p3.y);
> 		/*
> 		很重要的地方 应为它给的坐标 不一定是 x1<x3 y1>y3 我自己要转化
> 		*/
> 		if(p1.x>p3.x)
> 		{
> 			temp=p1.x;
> 			p1.x=p3.x;
> 			p3.x=temp;
> 		}
> 		if(p1.y<p3.y)
> 		{
> 			temp=p1.y;
> 			p1.y=p3.y;
> 			p3.y=temp;
> 		}
靠!被这儿搞了一次wa!

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