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

这题是不是有问题?

Posted by wpt at 2007-08-04 17:59:36 on Problem 1228
point=new double[n][2];
while(i<n)
{
	point[i][0]=in.nextDouble();
	point[i++][1]=in.nextDouble();
}
Arrays.sort(point,com);
这样就re

point=new double[1010][2];
while(i<n)
{
	point[i][0]=in.nextDouble();
	point[i++][1]=in.nextDouble();
}
Arrays.sort(point,0,n,com);
这样就ac

晕了

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