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:怎么就超时了呢??In Reply To:Re:怎么就超时了呢?? Posted by:babyrjw at 2011-06-01 12:05:53 > 估计有几方面的原因 > 二重循环判断重复耗时,100000的数据量,一个二重循环就变成了1E10,况且还有好几个二重循环,这个有点夸张,最好换一种方式判断重复,标准模板库有些耗时比较隐蔽的,比方说Std.String.erase这个费时 ········好的,谢谢了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator