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:java改了好多次,终于不超时了

Posted by 15686354699 at 2015-05-22 11:32:36 on Problem 1002
In Reply To:java改了好多次,终于不超时了 Posted by:fighting_family at 2015-03-30 02:34:17
> 因为也算是第一次学java吧,写代码时各种问题,最开始时,用的arraylist和treemap,然后就各种TLE,后来去掉treemap,自己写排序,算的时间应该是nlogn啊,但是不知道为什么还是一直超时,后来改成了自带的sort(),终于不超时了

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