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 |
Re:java改了好多次,终于不超时了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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator