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:郁闷 c++ 就TLE g++ 就AC 为什么啊?In Reply To:郁闷 c++ 就TLE g++ 就AC 为什么啊? Posted by:20055106 at 2007-09-30 18:08:47 RunID User Problem Result Memory Time Language Code Length Submit Time 2893636 ridgehk 1118 Accepted 96K 734MS C++ 981B 2007-11-11 02:26:37 2893619 ridgehk 1118 Accepted 100K 1859MS C++ 1482B 2007-11-11 02:16:31 去了函数调用直接写进main中,sort的cmp也用默认的方式排序,去了部分头文件后的程序效率差异~觉得有些TLE的朋友如果确认复杂度没问题的情况下有必要调整下程序结构~ 我用的n^2logn的算法~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator