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

我这样写A了?G++

Posted by twilight at 2009-01-07 23:02:26 on Problem 1859
In Reply To:Re:内详 Posted by:Bark at 2008-01-31 17:27:34
难道是poj换机器/编译器?
inline bool cmp(Point a,Point b)
{
	if (a.x==b.x)
	{
		return a.y<b.y;
	}
	else
	{
		return a.x<b.x;
	}
}

> 同样是
> 
> if(a.x == b.x) return a.y < b.y;
> return a.x < b.x;
> 
> 用sort TLE
> 自己写qsort就过了
> 
> 诡异

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