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:向dalao们求助,总是TLE,求救In Reply To:向dalao们求助,总是TLE,求救 Posted by:2016202202 at 2016-11-05 15:36:47 调用了10W次gets() 调用了10W次strlen() 调用了10W~20W次strcmp() 然后写了个O(n^2), 也就是又调用了大约100W次strcmp(), 300W次strcpy() 肯定TLE啦 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator