Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这题是不是有问题?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator