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 |
java改了好多次,终于不超时了因为也算是第一次学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