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:纠结死了,纪念下……TLE的注意下……In Reply To:纠结死了,纪念下……TLE的注意下…… Posted by:136930775 at 2012-09-13 22:50:55 > 开始用的string的+号连接,g++TLE,c++RE > 换成string的insert和append,依然g++TLE,c++RE > 最后改成用char的strcat居然就过了,47ms虽然也没有很快,可是用上面那些让我TLE了16次,改掉居然就过了……是string就有那么慢,还是写的太挫了…… > 目测不是典型错误,还是给TLE点建议吧…… 真的很慢…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator